Sscanf
#2

s parameter should contain the string size, for example:

pawn Код:
new reason[32];
else if(sscanf(params, "us[32]", id, reason)) SendClientMessage(playerid, RED, "Usage: /warn [id/name] [reason]");
Reply


Messages In This Thread
Sscanf - by lordturhan - 26.02.2012, 18:01
Re: Sscanf - by [XST]O_x - 26.02.2012, 18:05
Re: Sscanf - by lordturhan - 26.02.2012, 18:07
Re: Sscanf - by [XST]O_x - 26.02.2012, 18:11
Re: Sscanf - by Twisted_Insane - 26.02.2012, 18:14
Re: Sscanf - by Babul - 26.02.2012, 18:40

Forum Jump:


Users browsing this thread: 1 Guest(s)