addSecurity

Add a security category component to any player owned vehicle.

This vehicle must have already been registered with the vehicle keys system for this to work. Check createKey or registerVehicle methods first.

-- ARGUMENTS
-- plate:    string
-- category: string (must correspond to config.securityCategories keys)
-- upgrade:  string (must correspond to config.securityCategories[category] keys)
-- player:   number (optional)

-- RETURNS
-- nil

exports["ti_vehicleKeys"]:addSecurity(plate,category,upgrade,player)

Last updated