GetVehicleVirtualWorld
From SA-MP Wiki
Revision as of 23:57, 31 January 2014; view current revision
←Older revision | Newer revision→
←Older revision | Newer revision→
Description:
Get the virtual world of a vehicle.
(vehicleid)
vehicleid | The ID of the vehicle to get the virtual world of. |
Return Values:
The virtual world that the vehicle is in.
new world = GetVehicleVirtualWorld(vehicleid); SetPlayerVirtualWorld(playerid, world);
[edit]
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.