GetVehicleDriver: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Welcome|desc=Get the ID of the player, who is the driver of the vehicle| params=<source>(vehicleid)</source> <poem>vehicleid : The ID of the streamed in vehicle whose driver is to be found.</poem>| retvals=The ID of the driver on success, 255 if vehicle not streamed in or it has no driver|}}") |
No edit summary |
||
Line 1: | Line 1: | ||
<poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;"> | |||
This function was added in v1.7 (not released yet) and will not work on previous versions. | |||
</poem> | |||
{{Welcome|desc=Get the ID of the player, who is the driver of the vehicle| | {{Welcome|desc=Get the ID of the player, who is the driver of the vehicle| | ||
params=<source>(vehicleid)</source> | params=<source>(vehicleid)</source> | ||
<poem>vehicleid : The ID of the streamed in vehicle whose driver is to be found.</poem>| | <poem>vehicleid : The ID of the streamed in vehicle whose driver is to be found.</poem>| | ||
retvals=The ID of the driver on success, 255 if vehicle not streamed in or it has no driver|}} | retvals=The ID of the driver on success, 255 if vehicle not streamed in or it has no driver|}} |
Revision as of 17:03, 21 August 2023
This function was added in v1.7 (not released yet) and will not work on previous versions.
Description:
Get the ID of the player, who is the driver of the vehicle
Parameters:
(vehicleid)
vehicleid : The ID of the streamed in vehicle whose driver is to be found.
Return Values:
The ID of the driver on success, 255 if vehicle not streamed in or it has no driver