Creating individual world for events
#4

Since two players can never have the same VW you can simply do this

Код:
SetPlayerPos(playerid, 0, 0, 5); //for example
SetPlayerVirtualWorld(playerid, playerid+1);// I added +1 so player ID 0 won't stay in the real virtual world
if (GetPlayerState(giveplayerid) == 2)
{
	new tmpcar = GetPlayerVehicleID(playerid);
	SetVehiclePos(tmpcar, 0, 0, 10);
	LinkVehicleToInterior(tempcar, GetPlayerInterior(playerid));
	SetVehicleVirtualWorld(tempcar,playerid+1);
}
Reply


Messages In This Thread
Creating individual world for events - by Ciarannn - 16.03.2014, 13:14
Re: Creating individual world for events - by Abagail - 16.03.2014, 13:16
Respuesta: Creating individual world for events - by Stront - 16.03.2014, 13:51
Re: Creating individual world for events - by mirou123 - 16.03.2014, 13:58
Re: Creating individual world for events - by Ciarannn - 16.03.2014, 14:25
Re: Creating individual world for events - by mirou123 - 16.03.2014, 14:41
Re: Creating individual world for events - by Ciarannn - 16.03.2014, 14:41
Re: Creating individual world for events - by mirou123 - 16.03.2014, 14:49
Re: Creating individual world for events - by Ciarannn - 16.03.2014, 14:59
Re: Creating individual world for events - by mirou123 - 16.03.2014, 15:24

Forum Jump:


Users browsing this thread: 4 Guest(s)