25.04.2012, 01:58
Quote:
Try using OnPlayerInteriorChange like this:
pawn Код:
|
pawn Код:
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
if(GetPlayerVirtualWorld(playerid) == 0)
{
SetPlayerVirtualWorld(playerid, 1+playerid);//sets the player in world 1 then + the players id. so no other players will ever see eachother on the map.
}
else
{
SetPlayerVirtualWorld(playerid, 0);
}
return 1;
}