sscanf - specify a string if empty
#2

Drop the if you don't need that in this case try it like this.

pawn Код:
sscanf(params,"s[32]s[32]", type, doorname);
if(isnull(type)) return SendClientMessage(playerid, -1, "You must specify a type");
if(isnull(doorname)) doorname = "none";
Reply


Messages In This Thread
sscanf - specify a string if empty - by Natric - 21.09.2014, 18:20
Re: sscanf - specify a string if empty - by Pottus - 21.09.2014, 18:27

Forum Jump:


Users browsing this thread: 1 Guest(s)