GetPlayerVehicleID: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
(Created page with "{{Welcome| desc=Gets the vehicle ID of the specified player.| params=<syntaxhightlight lang="lua">playerid</syntaxhighlight> <poem>::playerid: The ID of the player whose vehic...")
(No difference)

Revision as of 15:23, 24 March 2022


Description:
Gets the vehicle ID of the specified player.


Parameters: <syntaxhightlight lang="lua">playerid</syntaxhighlight>

playerid: The ID of the player whose vehicle's ID you want to get.


Return Values:
The ID of the vehicle or 0 if not in any vehicle.