How to return an error message?
#3

You don't have to return a function call, you can also do like this (example from the upper code)

pawn Код:
if(!strlen(tmp))
{
    //some format function
    SendClientMessage(playerid,COLOR_RED,"USAGE: /stadium [1-17]");
    return 1;
}
Reply


Messages In This Thread
How to return an error message? - by grand.Theft.Otto - 04.12.2010, 05:02
Re: How to return an error message? - by Rudyy - 04.12.2010, 05:39
Re: How to return an error message? - by dice7 - 04.12.2010, 08:34

Forum Jump:


Users browsing this thread: 1 Guest(s)