PDA

View Full Version : The problem with "virtual worlds".


Vlad_Dredd
17/05/2013, 08:27 AM
Hello everyone! I had such a problem.For example, I parked the car in the garage (with the virtual world), I want to make re-spawn vehicles. Well, when I do re-spawn car, the car in the garage is lost (it is not visible, but on the server as if there is one). How to fix this problem so that the car could be seen in the virtual world after re-spawn all the cars?
In advance, thank you!
___________
Sorry for the bad English:)

RajatPawar
17/05/2013, 10:07 AM
Just spawn it in the player's world..?

new car = CreateVehicle(....);
SetVehicleVirtualWorld(car, GetPlayerVirtualWorld(playerid));