21.04.2013, 23:11
pawn Код:
else if(PlayerToPoint(3.0, playerid,1373.6143,405.0440,19.9555))
{//Entrada GATE
GameTextForPlayer(playerid, "~w~HQ GATE", 5000, 1);
SetPlayerVirtualWorld(playerid, 1);
SetPlayerInterior(playerid, 14);
SetPlayerPos(playerid,288.745971,169.350997,1007.171875);
PlayerInfo[playerid][pInt] = 15;
}
pawn Код:
else if(PlayerToPoint(3.0, playerid,288.745971,169.350997,1007.171875) && GetPlayerVirtualWorld(playerid, 1))
{//Entrada GATE
GameTextForPlayer(playerid, "~w~Cidade", 5000, 1);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerInterior(playerid, 14);
SetPlayerPos(playerid,1373.6143,405.0440,19.9555);
PlayerInfo[playerid][pInt] = 15;
}