26.03.2011, 15:45
Ive changed from sscanf to sscanf2. But do i have to change every single command or is there a easier way?
like this:
like this:
pawn Код:
// before NOT WORKING:
new Message[128], string[ 128 ];
if( sscanf( params, "z", Message) )
{
SendClientMessage( playerid, WHITE, "SYNTAX: /do [action]" );
}
// after WORKING:
new Message[128], string[ 128 ];
if( sscanf( params, "s[128]", Message) )
{
SendClientMessage( playerid, WHITE, "SYNTAX: /do [action]" );
}