GetVehicleVirtualWorld
From SA-MP Wiki
Get the virtual world of a vehicle.
(vehicleid)
| vehicleid | The ID of the vehicle to get the virtual world of. |
| Returns | The virtual world that the vehicle is in. |
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.
