SQZ Scripts
Search…
sqz_Carkeys
Modern, simple, clear script for locking player vehicles. Optimized server + client side, possibility to give keys to another players, supports society owned vehicles, Locksmith for resetting vehicle

Get it now!

GitHub

Features

  • Lock personaly/society owned vehicles
  • Give vehicle keys to other players
  • Reset vehicle keys at Locksmith (place on the map)
  • Give temporarily keys of vehicle
  • Optimized client & server side

Instalation

  • Drop the script into your resources folder and start it in your server.cfg
  • Run the sql.sql file
  • For optional export ussage, take a look bellow

Controls

  • /givekeys - Give keys to a player
  • /lockvehicle or J - Lock closest vehicle

Exports

  • Server side
    • resetPlate(plate) - Resets a vehicle plate's cache
    • giveTempKeys(plate, identifier, timeout) - Adds temporarily keys to a player (until the server), timeout is an optional param, time in ms until the key is reset