⚔️Export and Events

EVENTS INFO

ADD NEW VEHICLE WITH INFO -- CLIENT

It allows you to add the new vehicle with its information on the client.

TriggerServerEvent('bp_garage:addvehiclefrominfo', plate,hash,model,impound,vehprops)

🎉 ADDOWNERPART -- SERVER

This is how it is used on the server side. ( src = playerid , false = impound state)

⚠️ IMPORTANT This event runs while the player is in the vehicle.

TriggerClientEvent('bp_garage:addownervehicle',src ,false)

🎉 ADDOWNERPART -- CLIENT

This is how it is used on the client side. ( false = impound state)

TriggerEvent('bp_garage:addownervehicle' ,false)

🎉 ADDOWNERPART -- ESX_VEHICLESHOP EXAMPLE

IN ESX_VEHICLESHOP > SERVER.LUA

ADDOWNERPART -- QB-VEHICLESHOP EXAMPLE

IN QB-VEHICLESHOP > CLIENT.LUA

EXPORTS INFO

CLIENT PARTS --

RETURN BACK
Here you can make changes to the data and save it.

SERVER PARTS --

Get All vehicle Infos

Set All vehicle infos

Get vehicle info from plate

Set vehicle info from plate

The following export pulls all vehicles with information.

Last updated