How to make BH Detector that will send to admins only
#1

So basically i want a script that when ever someone keeps jumping bunny hopping it will send Server Directors a message or a warn saying he is bunny hopping
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=186270

https://sampforum.blast.hk/showthread.php?tid=181837
Reply
#3

Can you tell me how to make the second link sends a message to an admin?
Reply
#4

Just read the script, it already does that...
Reply
#5

Example:

pawn Код:
foreach(Player, i)
{
if(IsPlayerAdmin(i)
{
  new msg[128], BHname[MAX_PLAYER_NAME];
  GetPlayerName(playerid, BHname, MAX_PLAYER_NAME);
  format(msg, sizeof(msg), "%s (%d) Is Bunny Hopping, Do Something About This!", BHname, playerid);
  SendClientMessage(i, -1, msg);
}
}
Reply
#6

its not. when i do it it does not show. does that mean because am a admin?
Reply
#7

Did you rcon login?
Reply
#8

You must rcon login since i said in my example:

pawn Код:
if(IsPlayerAdmin(i))
That means that if the players are RCON admins..
Reply
#9

okay it works however how can i make it like server directors can see it aswell? only?
Reply
#10

Well. Replace the variable of:
pawn Код:
if(IsPlayerAdmin(playerid))
To your server directors' variable.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)