Quote:
Originally Posted by Jochemd
Hmm okay, let's try it another way: check if the params are OK, instead of checking they're not ok
This means you need to execute the code if it's correct, and return under the code if not correct
pawn Код:
} else return SendClientMessage(playerid,COLOR,"Error message here")
Talk english here, please.
|
That would return the error message on sucess. '!' = if
not something so else would return the sucess, he used it good. Correct me if im wrong.
You can also:
pawn Код:
if(sscanf(params, "u", example)) return SendClientMessage(playerid, color, "Error");