note Help Needed
This wiki is the result of an ongoing community effort — thank you all for helping!
If you want to provide changes to this page then please click here.
GetVehicleVirtualWorld
Description
Get the virtual world of a vehicle.
Name | Description |
---|---|
vehicleid | The ID of the vehicle to get the virtual world of. |
Returns
The virtual world that the vehicle is in.
Examples
new
vehicleWorld = GetVehicleVirtualWorld(vehicleid);
SetPlayerVirtualWorld(playerid, vehicleWorld);
Related Functions
- SetVehicleVirtualWorld: Set the virtual world of a vehicle.
- GetPlayerVirtualWorld: Check what virtual world a player is in.