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
/sendmail [title] [description]Administrative command to send emails to all players.
/sendbill [id] [price] [reason]Police command to send a billing to a certain player.
/TogglePhoneOpen or close the phone.
/clearalarmsDelete your entire alarm list completely.
/recipeYou can check your type of telephone balance.
/propfixRemove the prop from your hand.
/resetPhonePosReset the position of the phone if you have moved it around your screen.
/deleteUsersPhoneDelete all phone cache data from the entire server.
/deleteUserPhone [id]Delete all cache data from a specific player's phones.
/setcryptoworth [crypto] [value]Administrative command that changes the value of the cryptocurrency.
/checkcryptoworthCheck the global price of the cryptocurrency.
/cryptoCheck the global price of the cryptocurrency.
/giveinstaverify [username]Verify a specific Instagram account.
/givetwitterverify [username]Verify a specific Twitter account.
/deletemarket [id]Delete or reset a market, useful when making changes to the Markets table.
/chargePhone [id]Administrative command to recharge the phone of a specific player.
/sosSend an SOS message to the server's ambulance.
/clearstuckvoiceCommand to clear stuck voice.





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.

InPhone

SetCanOpenPhone

ClosePhone

qs-smartphone-pro:handleClosePhone

IsInCamera

createCall

getCall

endCall

isInCall

setSOS





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.

getPhoneNames

GetPhoneNumberFromIdentifier

getMetaFromSource

sendSOSMessage

sendNewMessageFromApp

hasEmailAccount

setInJobDuty

removeFromJobDuty

isInJobDuty

To check if a player is on job duty, use the following code:

local source = playerSource -- Replace with the player's source ID local isOnDuty = exports['qs-smartphone-pro']:isInJobDuty(source) if isOnDuty then print("Player is currently on job duty.") else print("Player is not on job duty.") end