GetVehicleModel: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
<poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;">
<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.
This function was added in v1.7 and will not work on previous versions.
</poem>
</poem>
{{Welcome|desc=Gets the Model of the vehicle|
{{Welcome|desc=Gets the Model of the vehicle|

Latest revision as of 05:46, 25 August 2023

This function was added in v1.7 and will not work on previous versions.


Description:
Gets the Model of the vehicle


Parameters:

(vehicleid)

vehicleid : The ID of the vehicle, whose model is to be found


Return Values:
The Model of the vehicle on success, 0 if the vehicleid is invalid (not streamed in )



Related Functions

The following functions may be helpful as they relate to this function in one way or another.