11.10.2013, 09:07
Hey guys I'm finishing with my /mask command but I have one problem, I want when masked player will speak it will write like this:
Stranger: text..
I've tried this
It's true it says Stranger: text.. but above this msg it shows my real IG name and message, I don't want to use GetPlayerName and SetPlayerName so people will just simply press TAB and see who's name changed... how can I do so it will write only "Stranger: text"?
Stranger: text..
I've tried this
pawn Код:
public OnPlayerText(playerid, text[])
{
if(Masked[playerid] == 1)
{
new str[128];
format(str, sizeof(str), "Stranger says: %s", text);
SendClientMessage(playerid, COLOR_YELLOW,str);
}
return 1;
}