Paid Resources

Vehicle Shop

okok-vehicleshop

1

Give keys after vehicle purchase

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

okok-vehicleshop/sv_utils.lua — line 72 (approx)
TriggerClientEvent('cd_garage:AddKeys', _source, vehicleProps.plate:match( "^%s*(.-)%s*$" ))
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.

okok-vehicleshop/sv_utils.lua — line 72 (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?