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 :

NameTypeDescription

modelName

string

Model name of vehicle


GetVehicleDataFromModelName

Returns details such as the price, model name and category etc of the vehicle you created

exports["tgiann-vehicleshop"]:GetVehicleDataFromHash(modelHash)

Parameters :

NameTypeDescription

modelHash

int

Model hash of vehicle

Last updated