How to make BH Detector that will send to admins only - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to make BH Detector that will send to admins only (
/showthread.php?tid=560850)
How to make BH Detector that will send to admins only -
Samieastwood - 30.01.2015
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
Re: How to make BH Detector that will send to admins only -
DavidSparks - 30.01.2015
https://sampforum.blast.hk/showthread.php?tid=186270
https://sampforum.blast.hk/showthread.php?tid=181837
Re: How to make BH Detector that will send to admins only -
Samieastwood - 30.01.2015
Can you tell me how to make the second link sends a message to an admin?
Re: How to make BH Detector that will send to admins only -
Schneider - 30.01.2015
Just read the script, it already does that...
Re: How to make BH Detector that will send to admins only -
Youssef221 - 30.01.2015
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);
}
}
Re: How to make BH Detector that will send to admins only -
Samieastwood - 30.01.2015
its not. when i do it it does not show. does that mean because am a admin?
Re: How to make BH Detector that will send to admins only -
Schneider - 30.01.2015
Did you rcon login?
Re: How to make BH Detector that will send to admins only -
Youssef221 - 30.01.2015
You must rcon login since i said in my example:
That means that if the players are RCON admins..
Re: How to make BH Detector that will send to admins only -
Samieastwood - 30.01.2015
okay it works however how can i make it like server directors can see it aswell? only?
Re: How to make BH Detector that will send to admins only -
Youssef221 - 02.02.2015
Well. Replace the variable of:
pawn Код:
if(IsPlayerAdmin(playerid))
To your server directors' variable.