GetVehicleVirtualWorld
Description:
Function GetVehicleVirtualWorld get the virtual world of a vehicle.
Parameters:
(vehicleid)
int | vehicleid | The ID of the vehicle to get the virtual world of. |
Return Values:
The virtual world that the vehicle is in.
Examples:
new world = GetVehicleVirtualWorld(vehicleid); SetPlayerVirtualWorld(playerid, world);
Related Functions
The following functions may be useful, as they are related to this function in one way or another.
- SetVehicleVirtualWorld: Set the virtual world of a vehicle.
- GetPlayerVirtualWorld: Check what virtual world a player is in.