Command /mask
#2

Instead of setting a name, why not just do this...

pawn Code:
new bool:Masked[MAX_PLAYERS] = false;

public OnPlayerText(playerid, text[])
{
    if(Masked[playerid])
    {
        new string[128];
        format(string, sizeof(string), "Stranger says, \"%s\"", text);
        SendClientMessageToAll(pick_a_color, string);
        return 0;
    }
    return 1;
}
Reply


Messages In This Thread
DELETED - by RenSoprano - 17.03.2012, 11:58
Re: Command /mask - by [ABK]Antonio - 17.03.2012, 12:07
Re: Command /mask - by RenSoprano - 17.03.2012, 12:24
Re: Command /mask - by emokidx - 17.03.2012, 12:26
Re: Command /mask - by RenSoprano - 17.03.2012, 12:27
Re: Command /mask - by [ABK]Antonio - 17.03.2012, 12:31
Re: Command /mask - by ReneG - 17.03.2012, 12:33

Forum Jump:


Users browsing this thread: 5 Guest(s)