01.03.2013, 17:29
A small bit of advice here: you should return 1 in the command. On every occasion, I mean, including the error cases. As SendPM is not a native function and we don't know its return value, you should resort to writing code like this:
... to return true, when helping others in help topics.
Also, SendClientMessage does not have a documented return value. So this is why it should be preferred for practice.
pawn Код:
return SendPM(playerid, ..., "..."), true;
Also, SendClientMessage does not have a documented return value. So this is why it should be preferred for practice.