03.01.2014, 20:12
Hi,
Can i check is null a variable after sscanf, if player not wrote a full command with all parametres? for ex:
Can i check is null a variable after sscanf, if player not wrote a full command with all parametres? for ex:
Код:
new STOREPLAYERNAME[ 25 ]; new reaaaaaaaaaaason[ 128 ]; if(sscanf(params, "s[25]s[128]", STOREPLAYERNAME, reaaaaaaaaaaason )) { if( isnull( STOREPLAYERNAME ) ) { } if( isnull(reaaaaaaaaaaason) ) { } return 1; }