SA-MP Forums Archive
sscanf bug - 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 bug (/showthread.php?tid=296654)



sscanf bug - moadi - 12.11.2011

Hey there,

I was wondering is the sscanf IDs/playername bug fixed, I don't know how to explain it, heres an example:

pawn Код:
CMD:test(playerid,o[])
{
if(sscanf(o,"u",targetid)) return SCM(playerid,-1,"example");
else
{
SCM(targetid,-1,"success");
}
return 1;
}

When you excute the CMD test on for an example ID 3,4,5 and forth which are online the CMD will be automatically excuted on ID 0 for some reason.

Thanks..


Re: sscanf bug - Juniior - 12.11.2011

http://forum.sa-mp.com/showpost.php?...postcount=1476