14.05.2012, 04:06
Hey,
Im using a script which uses the plugin SSCANF
Its using Update 10 which is the recent one.
I am using 0.3e server and client and I put in the following and when I put in /test then any number it returns as 4.
Do you know what is happening?
Im using a script which uses the plugin SSCANF
Its using Update 10 which is the recent one.
I am using 0.3e server and client and I put in the following and when I put in /test then any number it returns as 4.
pawn Code:
CMD:test(playerid, params[])
{
new string[128], wid;
if(sscanf(params, "d", wid)) return SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: /test [number]");
format(string, sizeof(string), "You put in %d", wid);
SendClientMessageEx(playerid, COLOR_YELLOW, string);
return 1;
}