27.06.2014, 11:32
Hello all!
I wrote a /sms command and I stuck on one part.
How can I make than person can not send himself a message?
I tryed something like this:
But the aray must be indexed.
So any ideas ?
Sorry for my bad English.
I wrote a /sms command and I stuck on one part.
How can I make than person can not send himself a message?
I tryed something like this:
pawn Код:
if(GetPlayerName(playerid) == Sender)
return SendClientMessage(playerid, RED, "You can not send a message to yourself");
So any ideas ?
Sorry for my bad English.