warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for 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.