SetVehicleVirtualWorld

From SA-MP Wiki

Jump to: navigation, search


Description:

Sets the 'virtual world' of a vehicle. Players will only be able to see vehicles in their own virtual world.


Parameters:
(vehicleid,worldid)
vehicleidThe ID of vehicle to set the virtual world of.
worldidThe ID of the virtual world to put the vehicle in.


Return Values:

This function does not return any specific values.


SetVehicleVirtualWorld(GetPlayerVehicleID(playerid), 10);
SetPlayerVirtualWorld(playerid, 10);

Related Functions

The following functions may be useful, as they are related to this function in one way or another.

Personal tools
Navigation
Toolbox
In other languages