Exports
All events and exports are for client and server
Server
GeneratePlate
Creates a random license plate that does not exist in the database
exports["tgiann-vehicleshop"]:GeneratePlate()
Client
GeneratePlate
Creates a random license plate that does not exist in the database
exports["tgiann-vehicleshop"]:GeneratePlate()
GetVehicleDataFromModelName
Returns details such as the price, model name and category etc of the vehicle you created
exports["tgiann-vehicleshop"]:GetVehicleDataFromModelName(modelName)
Parameters :
Name
Type
Description
modelName
string
Model name of vehicle
GetVehicleDataFromHash
Returns details such as the price, model name and category etc of the vehicle you created
exports["tgiann-vehicleshop"]:GetVehicleDataFromHash(modelHash)
Parameters :
Name
Type
Description
modelHash
int
Model hash of vehicle
Last updated