getVehicleData
Arguments
args (table): Conditions for searching the vehicle. The key "owner" corresponds to "citizenid".
additionalColumns (table, optional): Additional columns to return. Can include aliases in the format
"column as alias"
.callback (function): Callback function that will receive the vehicle data.
Returns
vehicles (table): An array containing vehicle data, including
owner
(owner's data),plate
,hash
,stored
, and other columns if specified.
Example Usage
Return Structure
If vehicles are found:
If vehicles are not found:
Last updated