Ban(Ex) and Ban - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Ban(Ex) and Ban (
/showthread.php?tid=147289)
Ban(Ex) and Ban -
oOhossamOo - 11.05.2010
what is the difference between the Ban(Ex) and Ban??
Re: Ban(Ex) and Ban -
Killa_ - 11.05.2010
With BanEx you can add a reason for banning.
Re: Ban(Ex) and Ban -
Razvann - 11.05.2010
The BanEx command gives reasons in samp.ban.
for example:
pawn Код:
if(GetPlayerWeapon(playerid) == 29) { BanEx(playerid, "SMG"); return 1; }
"SMG" - is the reason.
Re: Ban(Ex) and Ban -
RyDeR` - 11.05.2010
Quote:
|
Originally Posted by Razvann
The BanEx command gives reasons in samp.ban.
for example:
pawn Код:
if(GetPlayerWeapon(playerid) == 29) { BanEx(playerid, "SMG"); return 1; }
"SMG" - is the reason.
|
Just a little edit; you can also do: »
pawn Код:
if(GetPlayerWeapon(playerid) == 29) return BanEx(playerid, "SMG");
Re: Ban(Ex) and Ban -
oOhossamOo - 11.05.2010
thanks guys