[Ajuda] 2 Lugares com Mesmo Interior?
#3

Testa assim....
PHP Code:
if(PlayerToPoint(3.0playerid,329.849212,-1513.072753,36.039062))//Entrada HQ BOPE
{
    
GameTextForPlayer(playerid"~w~DP BOPE"50001);
    
SetPlayerInterior(playerid10);
    
SetPlayerPos(playerid,246.4631,110.1669,1003.2257);
    
PlayerInfo[playerid][pInt] = 10;
    
SetPlayerVirtualWorld(playerid4);
}
else if(
PlayerToPoint(3.0playerid246.375991,109.245994,1003.218750) && GetPlayerVirtualWorld(playerid) == 4)//Saida HQ BOPE
{
    
SetPlayerInterior(playerid0);
    
SetPlayerPos(playerid,329.849212,-1513.072753,36.039062);
    
PlayerInfo[playerid][pInt] = 0;
    
SetPlayerVirtualWorld(playerid0);
    
PlayerInfo[playerid][pLocal] = 255;
}
else if(
PlayerToPoint(3.0playerid,626.9647,-571.7733,17.9207))//GATE Entrada
{
    
SetPlayerPos(playerid246.375991,109.245994,1003.218750    );
    
GameTextForPlayer(playerid"~w~DP GATE",5000,1);
    
SetPlayerInterior(playerid,10);
    
SetPlayerFacingAngle(playerid0);
    
PlayerInfo[playerid][pInt] = 10;
    
SetPlayerVirtualWorld(playerid3);
}
else if(
PlayerToPoint(3.0playerid246.375991,109.245994,1003.218750) && GetPlayerVirtualWorld(playerid) == 3)//Saida GATE
{
    
SetPlayerPos(playerid626.9647,-571.7733,17.9207);
    
SetPlayerInterior(playerid,0);
    
SetPlayerFacingAngle(playerid0);
    
PlayerInfo[playerid][pInt] = 0;
    
SetPlayerVirtualWorld(playerid0);
    
PlayerInfo[playerid][pLocal] = 255;

Reply


Messages In This Thread
2 Lugares com Mesmo Interior? - by MacacoloK0 - 15.04.2019, 22:09
Re: 2 Lugares com Mesmo Interior? - by Cauezin - 15.04.2019, 23:33
Re: 2 Lugares com Mesmo Interior? - by AdrianoStk - 16.04.2019, 00:16
Re: 2 Lugares com Mesmo Interior? - by MacacoloK0 - 16.04.2019, 01:52
Re: 2 Lugares com Mesmo Interior? - by MacacoloK0 - 16.04.2019, 02:04
Re: 2 Lugares com Mesmo Interior? - by AdrianoStk - 16.04.2019, 04:27
Re: 2 Lugares com Mesmo Interior? - by MacacoloK0 - 16.04.2019, 15:18

Forum Jump:


Users browsing this thread: 1 Guest(s)