/sms command
#1

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:
pawn Код:
if(GetPlayerName(playerid) == Sender)
        return SendClientMessage(playerid, RED, "You can not send a message to yourself");
But the aray must be indexed.
So any ideas ?

Sorry for my bad English.
Reply


Messages In This Thread
/sms command - by Tadas - 27.06.2014, 11:32
Re: /sms command - by AdHaM612 - 27.06.2014, 11:40
Re: /sms command - by Noliax8 - 27.06.2014, 11:41
Re: /sms command - by Tadas - 27.06.2014, 11:41
Re: /sms command - by Noliax8 - 27.06.2014, 11:43
Re: /sms command - by Tadas - 27.06.2014, 11:48
Re: /sms command - by Noliax8 - 27.06.2014, 11:54

Forum Jump:


Users browsing this thread: 2 Guest(s)