help with warn again - 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: help with warn again (
/showthread.php?tid=183037)
help with warn again -
[MKD]Max - 13.10.2010
http://pastebin.com/T0rq1K7P
please help me how i can show the reason its all done when i do /warn 0 its work with out reaon i need to work with reaon and show me reason for exapel
Admin %s Warn %s For Reason: %s
Re: help with warn again -
Mauzen - 13.10.2010
pawn Код:
if(sscanf(params, "u", warnID, Reason))
With the "u" you load only a player here, but not the string. Change it to "us" so it will scan for the string too.
Re: help with warn again -
Cameltoe - 13.10.2010
Change
And the SScanf line:
pawn Код:
if(sscanf(params, "us", warnID, Reason))return SendClientMessage(playerid, COLOR_RED, "/warn [playerid] [reason]");
Re: help with warn again -
[MKD]Max - 13.10.2010
thnaks for help me dude good luck!