GetVehicleVirtualWorld

Description

Get the virtual world of a vehicle.

NameDescription
vehicleidThe 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