GetVehicleDriver

From NPC for VCMP 0.4 Servers
Revision as of 16:36, 21 August 2023 by Habi (talk | contribs) (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|}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


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