Interiors(about hearing another player)
#1

There are many interiors, but there is an problem..If I set one interior to several players house they can hear each other but they can't see each other. This depends on vw settings. But is there any way to do like this that they can't hear each other ?
Sorry for bad english.
Reply
#2

By 'hear eachother' do you mean the standard chat? Or do you mean a specialized command for local chat (/l)?

If you mean standard chat then post your 'OnPlayerText' callback, otherwise post your local chat commands (/local, /me, etc.)
Reply
#3

Try this

Код:
public OnPlayerText(playerid, text[])
{
  for (new i = 0; i != MAX_PLAYERS; i++)
  {
    if (GetPlayerVirtualWorld(i) != GetPlayerVirtualWorld(playerid)) continue;
    SendPlayerMessageToPlayer(i, playerid, text);
  }
  return 0;
}
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)