Vehicle in another vw
#1

Is it possible to put vehicle in another virtual world?
Reply
#2

Yes, you can use SetVehicleVirtualWorld. Note that there is not a function to get the VW, so you'll need to store it if you need to reference it.
Reply
#3

Quote:
Originally Posted by Filbert
Посмотреть сообщение
Is it possible to put vehicle in another virtual world?
Yes, you can use SetVehicleVirtualWorld(vehID, VirtualWorldID);

vehID -> The ID of the spawned vehicle.
VirtualWorldID -> VirtualWorld you want to set the vehicle.
Reply
#4

Quote:
Originally Posted by Abagail
Посмотреть сообщение
Yes, you can use SetVehicleVirtualWorld. Note that there is not a function to get the VW, so you'll need to store it if you need to reference it.
Actually you can use GetVehicleVirtualWorld(vehID) to get the VirtualWorld of the vehicle. You don't need to store it when u SetVehicleVirtualWorld.
Reply
#5

Always check the wiki for questions like this.

https://sampwiki.blast.hk/wiki/SetVehicleVirtualWorld
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)