04.04.2009, 20:46
hello,
i have find a little problem with chat in different virtual worlds for example:
we have 2 guys A and B, A is somewhere and B is in the same place where A is, but they have different Virtual Worlds, They don't see each others but they can talk, that's something like a bug i would like that only if players are in the same Virtual Worlds can talk:
here is the code of the chat under OnPlayerText:
can some one give me the code to make only if the virtual world is same players can see the text? (A and B have same virtual world)
thanks again
i have find a little problem with chat in different virtual worlds for example:
we have 2 guys A and B, A is somewhere and B is in the same place where A is, but they have different Virtual Worlds, They don't see each others but they can talk, that's something like a bug i would like that only if players are in the same Virtual Worlds can talk:
here is the code of the chat under OnPlayerText:
pawn Код:
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "%s: %s", sendername, text);
ProxDetector(8.5, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
thanks again