13.09.2013, 14:23
How can I make it possible that if the players are in the same VW they can see each others chat but if they aren't they can't because I got this problem that if the VW is different they can't see each other but they can see the chat.
pawn Код:
//Under OnPlayerText
new pname[MAX_PLAYER_NAME], str[128];
GetPlayerName(playerid, pname, sizeof(pname));
strreplace(pname, '_', ' ');
format(str, sizeof(str), "%s says: %s", pname, text);
ProxDetector2(30.0, playerid, str, COLOR_FADE1, COLOR_FADE2, COLOR_FADE3, COLOR_FADE4, COLOR_FADE5);
return 0;