Client
toggleUI
Toggles a UI page
page: 'callManager'
'sidebar'
'map'
getPlayerData
Returns a table of data that can be used for example for call message
return:
data:
table
gender:
string
location:
string
direction:
string
vehicle?:
table
will only return if player is in a vehiclemodel:
string
color:
string
plate:
string
weapon?:
string
will only return if player is holding a weapon
addCall
Adds a call with given data
data:
table
title:
string
code?:
string
priority?:
string
coords?:
vec3
coordsOffset?:
number
will randomise call coords by given amountimage?:
string
takePhoto?:
boolean
should the call data include a photo of player screenmessage?:
string
showLocation?:
boolean
showDirection?:
boolean
showGender?:
boolean
showVehicle?:
boolean
platePercentage?:
number
the percentage of plate characters to show (0-100), missing characters will be replaced with a "?"showWeapon?:
boolean
showPerson?:
boolean
showNumber?:
boolean
removeTime?:
number
time in milliseconds to remove callshowTime?:
number
time in milliseconds the call will show as a notificationcolor?:
string
color for notification left sideflash?:
boolean
playSound?:
boolean
playSoundAll?:
boolean
will play a sound that all players can hearjobs?:
string[]
blip?:
table
sprite:
number
scale:
number
color:
number
flash?:
boolean
display?:
number
shortRange?:
boolean
radius?:
number
Examples
Last updated