Media Functions
sendAirdrop
Send an airdrop with media content to a player.Airdrop data object
Banking Functions
addBankTransaction
Add a bank transaction record.Phone number of sender (0 = System)
Phone number of receiver (0 = System)
Transaction description
Transaction amount
Player Data Functions
getPlayerFromPhone
Get player data from phone number.Phone number
Player object containing source and other data
getNumberFromIdentifier
Get phone number from player identifier.Player identifier/citizenid
Player’s phone number
Cryptocurrency Functions
Available Coin IDs:
Bitcoin
, Monero
, Ethereum
, Cardano
, Dogecoin
, Litecoin
, Tether
, VeChain
, BNB
, Solana
, XRP
, Shibu Inu
, Bitcoin Cash
, Chainlink
removecrypto
Remove cryptocurrency from a player.Player identifier
Cryptocurrency ID (see list above)
Amount to remove (minimum 0.1)
addcrypto
Add cryptocurrency to a player.Player identifier
Cryptocurrency ID (see list above)
Amount to add (minimum 0.1)
checkcryptoamount
Check if player has enough cryptocurrency.Player identifier
Cryptocurrency ID (see list above)
Amount to check (minimum 0.1)
Returns
true
if player has enough or more, false
if lessEvent Numbers
Configure special event numbers that trigger custom server-side actions.Configure event numbers in
config.lua
first before using this event.Email System
sendMailOffline
Send an email to an offline player.Player identifier
Email data object
Dispatch System
sendDispatch
Send a dispatch to a specific job with player information.Player source ID
Dispatch message
Target job name
Coordinates (nil uses player’s current position)
Whether dispatch is anonymous
Optional image URL
sendDispatchAnonym
Send an anonymous dispatch without player information.Target job name
Dispatch title (no spaces, use hyphens instead)
Dispatch message
Location coordinates
Optional image URL
Do not use spaces in the title. Use hyphens instead (e.g.,
Robbery-1
instead of Robbery #1
)