GetPlayerVehicleID

From NPC for VCMP 0.4 Servers
Revision as of 15:23, 24 March 2022 by Habi (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


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.