02.06.2012, 11:46
uma perguntinha rapida:
Isso ia funcionar assim:
Isso ia funcionar assim:
pawn Code:
//ENTRAR
if(IsPlayerInRangeOfPoint(playerid, 2.0, 2104.95,-1806.50,13.55))
{
SetPlayerInterior(playerid, 5);
SetPlayerPos(playerid, 372.35,-133.21,1001.49);
SetPlayerVirtualWorld(playerid, 1);
}
if(IsPlayerInRangeOfPoint(playerid, 2.0, x,y,z))
{
SetPlayerInterior(playerid, 5);
SetPlayerPos(playerid, x,y,z))
SetPlayerVirtualWorld(playerid, 2);
}
//SAIR
if(IsPlayerInRangeOfPoint(playerid, 2.0, 372.35,-133.21,1001.49))
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 2104.95,-1806.50,13.55);
SetPlayerVirtualWorld(playerid, 0);
}
if(IsPlayerInRangeOfPoint(playerid, 2.0, x,y,z))
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, x,y,z))
SetPlayerVirtualWorld(playerid, 0);
}

