18.05.2012, 17:55
assim eu entro normal mais quando eu sair eu caiu me ajuda ai galeras
else if(PlayerToPoint(1, playerid,1876.8912,-1682.1334,13.5387))//HQ BOPE entrada
{
SafeSetPlayerPos(playerid,246.4869,107.7615,1003.2188);
SetPlayerFacingAngle(playerid, 277.0);
SetPlayerInterior(playerid,10);
Player[playerid][pInt] = 10;
}
else if(PlayerToPoint(1, playerid,246.4869,107.7615,1003.2188))//HQ BOPE saida
{
SafeSetPlayerPos(playerid,1876.8912,-1682.1334,13.5387);
SetPlayerFacingAngle(playerid, 270.0);
SetPlayerInterior(playerid,0);
Player[playerid][pInt] = 0;
}
else if(PlayerToPoint(3, playerid,1876.8912,-1682.1334,13.5387))//HQ BOPE entrada
{
GameTextForPlayer(playerid, "~w~DP BOPE", 5000, 1);
SetPlayerInterior(playerid, 10);
SetPlayerPos(playerid,246.4869,107.7615,1003.2188);
PlayerInfo[playerid][pInt] = 10;
SetPlayerVirtualWorld(playerid, 0);
}
else if(PlayerToPoint(2.0, playerid,246.4869,107.7615,1003.2188))//HQ BOPE saida
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,1876.8912,-1682.1334,13.5387);
PlayerInfo[playerid][pInt] = 0;
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo[playerid][pLocal] = 255;
}
else if(PlayerToPoint(1, playerid,1876.8912,-1682.1334,13.5387))//HQ BOPE entrada
{
SafeSetPlayerPos(playerid,246.4869,107.7615,1003.2188);
SetPlayerFacingAngle(playerid, 277.0);
SetPlayerInterior(playerid,10);
Player[playerid][pInt] = 10;
}
else if(PlayerToPoint(1, playerid,246.4869,107.7615,1003.2188))//HQ BOPE saida
{
SafeSetPlayerPos(playerid,1876.8912,-1682.1334,13.5387);
SetPlayerFacingAngle(playerid, 270.0);
SetPlayerInterior(playerid,0);
Player[playerid][pInt] = 0;
}
DisableInteriorEnterExits();