28.02.2011, 14:34
Hey guys
so for my rp mode,I need to make an rp chat.
So only players that are close to me can see my message.
I used this command to do this ....
Im sure in 100% that this is the right command I just forgat how to add the ProxDetector function
so for my rp mode,I need to make an rp chat.
So only players that are close to me can see my message.
I used this command to do this ....
PHP код:
public OnPlayerText(playerid, text[])
{
new string[256],sendername[MAX_PLAYER_NAME];
format(string, sizeof(string), "%s Says: %s", sendername, text);
ProxDetector(20.0, playerid, string,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE);
return 0;
}