Sscanf
#5

32 may be a little short, this is from the warn-command I am using at the moment:

pawn Код:
new Target,  Reason[ 64 ], sz_msg[ 128 ];
    if( sscanf( params, "rs[64]", Target, Reason ) ) return SendClientMessage( playerid, COLOR_LIGHTBLUE, "USAGE: /warn [playerid] [reason]" );

Hope I could help!
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)