SetVehicleVirtualWorld
From SA-MP Wiki
SetVehicleVirtualWorld
Use this function to put a vehicle in a virtual world.
(vehicleid,worldid)
| vehicleid | The ID of vehicle you want to set the virtual world of. |
| worldid | The ID of the virtual world to put the vehicle in. |
This function does not return a specific value.
SetVehicleVirtualWorld(GetPlayerVehicleID(playerid), 10);
Related Functions
The following functions might be useful as well, as they're related to this function in one way or another.
- GetVehicleVirtualWorld: Check what virtual world a vehicle is in.
- SetPlayerVirtualWorld: Set the virtual world of a player.
