02.02.2011, 03:57
I've noticed that with sscanf, if you put a string before an interger or even another array...
The problem is that, if the "string" contains any spaces at all, it basically tells you to go fuck yourself, and counts the space as a change to the next variable (?).
Is there any way to fix this without putting the strings at the end of the command (if that would even work..?)
pawn Код:
if(sscanf(params, "s[123]ddd", string, var1, var2, var3)) return sendclien...(playerid, color, "usage: /bla [string] [var1] [var2] [var3]);
Is there any way to fix this without putting the strings at the end of the command (if that would even work..?)