stranger chat help for /mask
#9

Код:
if(PlayerInfo[playerid][pMasked] == 1)
    {
        new string[128];
        format(string, sizeof(string),"Stranger: %s ", text); 
        SendLocalMessage(playerid, string, 10.0, COLOR_WHITE, COLOR_WHITE);
        return 0;
    }
    return 1;
}
Stock SendLocalMessage somewhere in your script, search for it on forums...
SendClientMessage only sends the message to a SPECIFIC player, not players in range of the playerid
+rep if I helped you
Reply


Messages In This Thread
stranger chat help for /mask - by Evation - 31.05.2012, 13:18
Re: stranger chat help for /mask - by JaKe Elite - 31.05.2012, 13:27
Re: stranger chat help for /mask - by Evation - 31.05.2012, 13:33
Re: stranger chat help for /mask - by Evation - 31.05.2012, 14:07
Re: stranger chat help for /mask - by MadeMan - 31.05.2012, 15:44
Re: stranger chat help for /mask - by Evation - 01.06.2012, 08:03
Re: stranger chat help for /mask - by MadeMan - 01.06.2012, 09:48
Re: stranger chat help for /mask - by Evation - 01.06.2012, 11:03
Re: stranger chat help for /mask - by Sandiel - 01.06.2012, 11:48
Re: stranger chat help for /mask - by Evation - 01.06.2012, 12:27

Forum Jump:


Users browsing this thread: 1 Guest(s)