21.09.2014, 18:27
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";