Seperate locations using the same interior.
#3

Quote:
Originally Posted by big comfy couch
Have the different locations set you to a different virtual world. Then, when exiting, check using GetPlayerVirtualWorld(playerid) to check their world, and teleport them to the location accordingly.
Okay so have it look like:
Код:
	if(pickupid == pizzaicon)
	{
		GetPlayerInterior(playerid);
		GetPlayerVirtualWorld(playerid);
		SetPlayerInterior(playerid, 5);
		SetPlayerPos(playerid, 373.825653,-117.270904,1001.499511);
	}
	if(pickupid == pizzaiconexit)
 	{
 		SetPlayerVirtualWorld(playerid, 0);
   	SetPlayerInterior(playerid,0);
   	SetPlayerPos(playerid, -1808.1265,945.3210,24.8906);
 	}
Reply


Messages In This Thread
Seperate locations using the same interior. - by [GTA] - 07.11.2009, 01:57
Re: Seperate locations using the same interior. - by bigcomfycouch - 07.11.2009, 03:04
Re: Seperate locations using the same interior. - by [GTA] - 07.11.2009, 04:57
Re: Seperate locations using the same interior. - by Infamous - 07.11.2009, 07:48

Forum Jump:


Users browsing this thread: 1 Guest(s)