03.01.2014, 20:24
That's why you check if sscanf doesn't return 0 so it will send an error message about wrong usage (parameters).
Just to let you know though, that if you want to use part of player's name or the playerid, the specifier is u or r (not NPC included) instead of using s (with size) for online players.
@CutX: Use the size:
otherwise will be 32 by default.
Just to let you know though, that if you want to use part of player's name or the playerid, the specifier is u or r (not NPC included) instead of using s (with size) for online players.
@CutX: Use the size:
pawn Код:
if(sscanf(params,"s[25]s[128]",a,b)) ...