SCode StudiosSCodeDocs
Tebex Store

Exports

Exports of Cherry Collection

Server

Lua
exports['vorty-cherry']:SendMail(identifierOrSource, { sender = 'Bank', subject = 'Hi', message = 'Text',
    button = { buttonEvent = 'my:clientEvent', buttonData = {}, label = 'Accept' } })
exports['vorty-cherry']:SendMessage(fromNumber, toNumber, 'text')
exports['vorty-cherry']:GetNumber(source)
exports['vorty-cherry']:GetSourceByNumber(number)
exports['vorty-cherry']:Notify(source, { title = 'Garage', text = 'Your car is ready' })
exports['vorty-cherry']:GiveDevice(source, 'phone', 'cherry_red')
exports['vorty-cherry']:IsInCall(source)
exports['vorty-cherry']:EndCall(source)
exports['vorty-cherry']:HasLicense(citizenid, 'weapon')              -- e-City licence (true / false)
exports['vorty-cherry']:HasBusinessLicense('bahamamamas', 'alcohol') -- business licence of a job
exports['vorty-cherry']:GetMedicalID(sourceOrCitizenid)  -- { name, blood, allergies, conditions, medications, notes, donor, contacts } or nil
exports['vorty-cherry']:GetTagOwner('CT8K2M4QXP')        -- citizenid a CherryTag serial is paired with, or nil
exports['vorty-cherry']:UnlockDevice(source, 'phone')    -- 'phone' | 'tablet' | 'laptop': someone else's device in the
                                                         -- player's hands becomes theirs, past Device Lock
exports['vorty-cherry']:AddSpend(source, 'beanmachine', amount)  -- count a purchase for Flecca Chips
exports['vorty-cherry']:FilterText(text)                 -- the word filter of the social apps

Client

Lua
exports['vorty-cherry']:IsOpen()          -- or IsOpen('phone') / IsOpen('tablet')
exports['vorty-cherry']:Open('phone')
exports['vorty-cherry']:Close()
exports['vorty-cherry']:InCall()
exports['vorty-cherry']:SendNotification({ title = 'Title', text = 'Text' })

qb-phone compatibility

Scripts that send mail or notifications through qb-phone (qb-phone:server:sendNewMail, exports['qb-phone']:sendNewMailToOffline, police alerts, contact sharing from qb-radialmenu ...) keep working while qb-phone is stopped (Config.QBPhoneCompat = true).

For the exports of custom apps, see Custom Apps (SDK).

Last updated: December 6, 2026