SA-MP Forums Archive
SSCANF help. - 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: SSCANF help. (/showthread.php?tid=375152)



SSCANF help. - Infinity90 - 05.09.2012

FIXED


Re: SSCANF help. - leonardo1434 - 05.09.2012

try that do that. it will display in which part is the error. which i guess is located in the send client, and please, reduce these amount of unused cells.
pawn Код:
if(sscanf(params, "iis[256]", player1, second, reason)) return 0;
SendClientMessage(playerid, COLOR_WHITE, "/freeze [ID] [Minutes] [Reason]");



Re: SSCANF help. - Infinity90 - 05.09.2012

Nope, didn't work :L


Re: SSCANF help. - leonardo1434 - 05.09.2012

so..it's the "params". i guess.


late.


Re: SSCANF help. - Infinity90 - 05.09.2012

Wow, I feel so dumb, easy mistake, Thanks for the help!
Fixed