05.12.2013, 19:53
Quote:
Mas seu eu colocar SetPlayerVirtualWorld., ai quem entro pela entrada 1 nгo irб conseguir ver quem entrou pela entrada 2, dar exemplos ai por favor ?
|
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 7.0, X,Y,Z))
{
SetPlayerInterior(playerid, ID);
SetPlayerVirtualWorld(playerid,2);
SetPlayerPos(playerid,X,Y,Z);
}
if(IsPlayerInRangeOfPoint(playerid, 7.0, X,Y,Z) && GetPlayerVirtualWorld(playerid) == 2)
{
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid,0);
SetPlayerPos(playerid,X,Y,Z);
}
//
if(IsPlayerInRangeOfPoint(playerid, 7.0, X,Y,Z))
{
SetPlayerInterior(playerid, ID);
SetPlayerVirtualWorld(playerid,3);
SetPlayerPos(playerid,X,Y,Z);
}
if(IsPlayerInRangeOfPoint(playerid, 7.0, X,Y,Z) && GetPlayerVirtualWorld(playerid) == 3)
{
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid,0);
SetPlayerPos(playerid,X,Y,Z);
}