Vehcile in VirtualWorld
#1

Hi, i was adding static vehciles in server but the vehicle appears only in 1 VirtualWorld!

Код:
AddStaticVehicle(456,2453.5713,-2110.1404,13.5469,350.9231,1,4);
Can you tell me where i need to ad VirtualWorld for vehicle?
Reply
#2

If you want change the virtual world of the vehicle for all world, then you need use the value -1

Add this function below OnVehicleSpawn(vehicleid)

pawn Код:
SetVehicleVirtualWorld(vehicleid, -1);
But i think the standard world of created vehicles are already -1 or? Not sure, but here you go.
Reply
#3

Alright, thanks for help!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)