16.03.2014, 13:58
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); }