18.05.2012, 18:16
Ta ai, tenta usar esse, vai dar certo agora:
pawn Код:
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;
}