Quasar Store Logo

Commands and Exports

This section lists all available commands, exports, and events included in the script. You’ll find client-side, server-side, and shared functions designed to help developers integrate, extend, or interact with the system easily within their own scripts or frameworks.

Commands

This section lists all available commands included in the script. Each command is designed to simplify administration, player interaction, or debugging tasks. You’ll find detailed descriptions, usage examples, and permission requirements to help you manage and customize your server efficiently.

CommandDescription
/usekeyLocks or unlocks the nearest vehicle that the player owns keys for.
/hotwireAttempts to hotwire the vehicle the player is currently inside when no valid keys are available.
/stealnpckeyAttempts to steal vehicle keys from a nearby NPC driver.
/keytransferOpens the key transfer menu, allowing players to share vehicle keys with nearby players.
/givekeys [playerId]Gives the keys of the current vehicle to another player. If no player ID is specified, the nearest player will be selected automatically.
/engineTurns the engine of the current vehicle on or off.
/lockpickStarts the vehicle lockpick minigame on the nearest valid vehicle.
/trackerOpens the GPS tracker management menu to track or manage installed trackers.
/diagnosticRuns a diagnostic scan on the nearest vehicle and displays information about its condition.
/anchorToggles the anchor of the boat the player is currently operating.
/vkadminOpens the Vehicle Keys administration panel, including vehicle and key management features.
/vehiclekeys_interactionOpens the Vehicle Keys interaction menu, providing quick access to available vehicle key actions.


Client Exports

This section provides all available client exports for the script. These functions allow you to interact directly with the system from the client side, enabling custom features, UI interactions, and integrations with other resources. Each export includes a short description and usage example for easy implementation.

GiveKeys

RemoveKeys

GetKey

GiveKeysAuto

RemoveKeysAuto

GetKeyAuto

CanUseVehicle

RequestKeyTransfer

OpenCar

CloseCar

disableHotwire

DoorLogic

GetDoorState

toggleEngine

isEngineRunning

UseLockpick

UsePlate

GetPlateFormat

UseGpsTrackerItem



OpenTrackerMenu

ToggleBoatAnchor

OpenDiagnostic

UseRentalPapers





Server Exports

This section provides all available server exports for the script. These functions allow developers to interact with the system from the server side, manage data, trigger actions, and integrate with other resources. Each export includes a clear description and a practical example to simplify its implementation.

GiveServerKeys

RemoveServerKeys

GetServerKey