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
/crimecreatorOpen the Crime features edit menu.
/givexp [orgId]Give experience to an organization using the organization ID.
/police:headbagoffPolice command to remove the bag from a player's head.





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.

isMoneyLaunderingActive

getMoneyLaunderingVehicle

GetPlayerGang





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.

addOrganizationXP

hasHeadbag

takeHeadbagOff

putHeadbagOn

GetPlayerGang

SetPlayerGang

GetFilteredGangs

local gangs = exports['qs-crime-creator']:GetFilteredGangs() for i = 1, #gangs do local gang = gangs[i] print(('[%d] %s (%d/%d online)'):format(gang.id, gang.name, gang.onlineCount, gang.memberCount)) end

This server-side export returns a filtered list of all gangs with summarized and structured data, including member details and online status. Each gang entry contains general information such as its ID, name, color, creator, total members, and how many are currently online, along with optional owner data. It also includes a detailed members list with identifiers, names, boss status, rank information, online state, and join date. This makes it ideal for building admin panels, monitoring systems, or gameplay features that need a clear overview of gang activity and composition in real time.