Paid Resources

Vehicle Shop

okok-vehicleshop

1

Give keys after vehicle purchase

Add the line of code exactly as seen in the screenshot below.

okokVehicleShop/cl_utils.lua — line 33 (approx)
TriggerEvent('cd_garage:AddKeys', plate)
TriggerEvent('cd_garage:RemoveKeys', plate)
2

Set garage type after a vehicle is purchased (for boats and air vehicles)

Add the line of code exactly as seen in the screenshot below.

okokVehicleShop/sv_utils.lua — line 385 (approx)
TriggerClientEvent('cd_garage:UpdateGarageType', source)


Housing

ps-housing

1

Give keys after vehicle purchase.

View the code on GitHub: ps-housing/client/cl_property.lua.

Replace whole function.

Last updated

Was this helpful?