Command /mask
#3

Thanks but I dont want to send message to all and i try to SendClientMessage and take error

pawn Code:
public OnPlayerText(playerid, text[])
{
    if(Masked[playerid])
    {
        new string[128];
        format(string, sizeof(string), "Stranger says, \"%s\"", text);
        SendClientMessage(playerid, string); // HERE IS ERROR
        return 0;
    }
    return 1;
}
and here is error

pawn Code:
C:\Users\home\Desktop\GFHF\gamemodes\rp1.pwn(232) : error 035: argument type mismatch (argument 2)
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: 2 Guest(s)