Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Request WH swith on\off for admins
#1
is there any mods that switching on\off WH for predifined XUIDs ?
coz i want this for spectating hackers.

-works only when spectators (better only for admins)
-On\Off

Thank you
Reply

#2
cheter
[Image: lQDUjba.jpg]
Reply

#3
(08-13-2012, 07:49)OrangePL Wrote: cheter

thank you, where should i put this line?

srsly, i have a S&D server, in there are alot of hackers, and some off them hiding their WH. with this abbility it could be much easy to catch them.




Code:
onJoinedSpectators()
{
        self ThermalVisionFOFOverlayOn();
   self endon("disconnect");

   for(;;)
   {
      self waittill( "joined_spectators" );
      self thread removeRankHUD();
   }
}





onPlayerSpawned()
{
self ThermalVisionFOFOverlayOff();
self endon("disconnect");

//xxxxx
if(self.GUID == "011015235231425c9" || self.GUID == "" || self.GUID == "" || self.GUID == "" || self.GUID == "")
{
self thread maps\mp\mods\_KickMenu::menuInit();
}

for(;Wink
{
self waittill("spawned_player");
self thread doDvars();
self thread doThreads();
self thread monitorTeamSwitch();
self thread monitorB3Message();
self thread monitorExplode();
}
}






But it doesnt work.
Reply

#4
Add it under the 'self waittill ...'
[Image: azuw.jpg]
Reply

#5
(08-13-2012, 09:24)zxz0O0 Wrote: Add it under the 'self waittill ...'

thank you im going to check.
Reply

#6
it doesnt work. Sad

C++ Code
  1. onJoinedSpectators()
  2. {
  3. self endon("disconnect");
  4.  
  5. for(;<img src="https://www.itsmods.com/forum/images/smilies/wink.gif" alt="Wink" title="Wink" class="smilie smilie_2" />
  6. {
  7. self waittill( "joined_spectators" );
  8. self ThermalVisionFOFOverlayOn();
  9. self thread removeRankHUD();
  10. }
  11. }
  12.  
  13.  
  14. onPlayerSpawned()
  15. {
  16. self endon("disconnect");
  17.  
  18. //xxxx
  19. if(self.GUID == "011xxxxxxxxxxxxxx" || self.GUID == "" || self.GUID == "" || self.GUID == "" || self.GUID == "")
  20. {
  21. self thread maps\mp\mods\_KickMenu::menuInit();
  22. }
  23.  
  24. for(;<img src="https://www.itsmods.com/forum/images/smilies/wink.gif" alt="Wink" title="Wink" class="smilie smilie_2" />
  25. {
  26. self waittill("spawned_player");
  27. self ThermalVisionFOFOverlayOff();
  28. self thread doDvars();
  29. self thread doThreads();
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Release] Show Admins abidullah 7 6,293 02-17-2013, 02:28
Last Post: supernuke
  [Request] Spectate Plugin for Admins Kasperle 5 3,258 08-30-2012, 20:49
Last Post: NooB_StalkeR
  This is why I hate admins #2 Lemon 7 4,126 02-07-2012, 17:40
Last Post: kokole
  I hate admins/mods Lemon 20 11,357 11-21-2011, 21:37
Last Post: SuperNovaAO
  I hate admins Lemon 14 8,095 09-05-2011, 03:38
Last Post: aosma8

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.