SSCANF Issue
#1

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.
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;
   
}
Do you know what is happening?
Reply


Messages In This Thread
SSCANF Issue - by Deduction - 14.05.2012, 04:06
Re: SSCANF Issue - by James Coral - 14.05.2012, 04:11
Re: SSCANF Issue - by Deduction - 14.05.2012, 04:19
Re: SSCANF Issue - by iRage - 14.05.2012, 04:33
Re: SSCANF Issue - by Deduction - 14.05.2012, 04:44
Re: SSCANF Issue - by Deduction - 14.05.2012, 05:42
Re: SSCANF Issue - by Ash. - 14.05.2012, 05:48
Re: SSCANF Issue - by ViniBorn - 14.05.2012, 05:51
Re: SSCANF Issue - by Deduction - 14.05.2012, 05:59

Forum Jump:


Users browsing this thread: 1 Guest(s)