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 |
||
(One intermediate revision by the same user not shown) | |||
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 or if the player is not connected.| | ||
}} | }} |
Latest revision as of 18:12, 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 or if the player is not connected.