[HELP]VirtualWorld answers as quick please!
#1

I do not know why not to go out and enter the building after kick after cars disappear and is according to another world.

Код:
}
  else if (PlayerToPointStripped(2.0, playerid,363.171203,-75.028457,1001.507812, cx,cy,cz))
	{
	 if(GetPlayerVirtualWorld(playerid) == 3)
	 {
		GameTextForPlayer(playerid, "~w~Los_Santos",1000,1);
		SetPlayerPos(playerid,1199.1012,-921.2660,43.0294);
		SetPlayerInterior(playerid,0);
		//Burger Shot exit
	 }
	}
	else if (PlayerToPointStripped(2.0, playerid,1199.335205,-918.272399,43.121707, cx,cy,cz))
	{
		SetPlayerVirtualWorld(playerid,5);
		GameTextForPlayer(playerid, "~w~Burger ~n~ ~w~Shot",1000,1);
		SetPlayerPos(playerid,365.567565,-73.677337,1001.507812);
		SetPlayerInterior(playerid,10);
		//Burger Shot entrance
	}
Reply
#2

Код:
}
  else if (PlayerToPointStripped(2.0, playerid,363.171203,-75.028457,1001.507812, cx,cy,cz))
	{
	 if(GetPlayerVirtualWorld(playerid) == 3)
	 {
		GameTextForPlayer(playerid, "~w~Los_Santos",1000,1);
		SetPlayerPos(playerid,1199.1012,-921.2660,43.0294);
		SetPlayerInterior(playerid,0);
        SetPlayerVirtualWorld(playerid,0);// If was Wirtual world set "GetPlayerVirt...."^^
		//Burger Shot exit
	 }
	}
	else if (PlayerToPointStripped(2.0, playerid,1199.335205,-918.272399,43.121707, cx,cy,cz))
	{
		SetPlayerVirtualWorld(playerid,5);
		GameTextForPlayer(playerid, "~w~Burger ~n~ ~w~Shot",1000,1);
		SetPlayerPos(playerid,365.567565,-73.677337,1001.507812);
		SetPlayerInterior(playerid,10);
		//Burger Shot entrance
	}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)