Virtual worlds
#4

Quote:
Originally Posted by ZeeX
https://sampwiki.blast.hk/wiki/GetPlayerVirtualWorld
pawn Код:
public OnPlayerText(playerid, text[])
{
  new
    world = GetPlayerVirtualWorld(playerid);
  for (new i; i < MAX_PLAYERS; i++)
  {
    if (world == GetPlayerVirtualWorld(i)) // Added missing bracket :+
    {
      SendPlayerMessageToPlayer(i, playerid, text);
    }  
  }
  return 0;
}
Figured it out in the end thanks though.
Reply


Messages In This Thread
Virtual worlds - by ded - 21.09.2009, 10:25
Re: Virtual worlds - by Zeex - 21.09.2009, 11:24
Re: Virtual worlds - by Finn - 21.09.2009, 11:31
Re: Virtual worlds - by ded - 21.09.2009, 13:37

Forum Jump:


Users browsing this thread: 1 Guest(s)