07.11.2009, 04:57
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.
|
Код:
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);
}

