GetPlayerVehicleID: Difference between revisions
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 edit summary |
||
Line 1: | Line 1: | ||
{{Welcome| | {{Welcome| | ||
desc=Gets the vehicle ID of the specified player.| | desc=Gets the vehicle ID of the specified player.| | ||
params=< | params=<syntaxhighlight lang="lua">playerid</syntaxhighlight> | ||
<poem>::playerid: The ID of the player whose vehicle's ID you want to get.</poem>| | <poem>::playerid: The ID of the player whose vehicle's ID you want to get.</poem>| | ||
retvals=The ID of the vehicle or '''0''' if not in any vehicle.| | retvals=The ID of the vehicle or '''0''' if not in any vehicle.| | ||
}} | }} |
Revision as of 15:23, 24 March 2022
Description:
Gets the vehicle ID of the specified player.
Parameters:
playerid
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.