Configuration, Exports and commands
Guide to exports and commands for Quasar Vehiclekeys, we recommend having an experienced developer or having minimal programming skills to continue with this sector of the documentation.
Remember that the system will work without using this type of exports, this guide is exclusively for people who want to create their own scripts based on metadata or purely to have information on the internal use of the resource.
In isolated cases you may need to use one of these events for your basic server resources, but usually it will all work automatically.
exports['qs-vehiclekeys']:GiveKeysAuto()
exports['qs-vehiclekeys']:RemoveKeysAuto()
exports['qs-vehiclekeys']:GetKeyAuto()
-- plate: Vehicle plate
-- model: Vehicle model
exports['qs-vehiclekeys']:GiveKeys(plate, model)
-- plate: Vehicle plate
-- model: Vehicle model
exports['qs-vehiclekeys']:RemoveKeys(plate, model)
-- plate: Vehicle plate
exports['qs-vehiclekeys']:GetKey(plate)
List of useful commands for the basic functions of your server using our asset, you can execute them using ExecuteCommand or read them informatively.
Name | Usability | Description |
---|---|---|
givekey | /givekey id | Command for administrative use, gives keys to the player but must be inside a vehicle. |
Last modified 1mo ago