Help With BanEx - 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: Help With BanEx (
/showthread.php?tid=348645)
Help With BanEx -
InfinityCOD - 06.06.2012
Hi I'm a newbie Scripter I want to add BanEx(playerid, Reason) How do I do that? I'm using AntiADV
And put SendClientMessage (You have been banned from this server for Advertising)
http://pastebin.com/xrqyGcy1
Re: Help With BanEx -
Niko_boy - 06.06.2012
Код:
stock BanEx(playerid, reason[])
{
SendClientMessageToAll(-1,reason);
Ban(playerid)
return 1;
}
usage:
pawn Код:
//in command
BanEx(target,"PlayerBanned For HACKS");
Re: Help With BanEx -
JaKe Elite - 06.06.2012
there is already BanEx no need to create for stock
Re: Help With BanEx -
[ABK]Antonio - 06.06.2012
Quote:
Originally Posted by Niko_boy
Код:
stock BanEx(playerid, reason[])
{
SendClientMessageToAll(-1,reason);
Ban(playerid)
return 1;
}
usage:
pawn Код:
//in command
BanEx(target,"PlayerBanned For HACKS");
|
Quote:
Originally Posted by Romel
there is already BanEx no need to create for stock
|
As said above. BanEx also writes to the ban file (with the the you input)
Re: Help With BanEx -
Niko_boy - 06.06.2012

there is i never used or tried one LOL
sorry my fail =__=