Misc
playersWithBand
With following state bag you can get all players with tracking bands.
Return:
object
|{ [identifier]: playerData }
playerData
object
identifier:
string
coords:
vector3
heading:
number
ornil
online:
boolean
name:
string
PoliceObject
Use following statebag to check if entity is police object.
entity:
number
Existing entity on server
PlaySound
Use following export to play sound for players within distance.
playerId:
number
Existing player server id
data:
table
file:
string
distance:
number
| max: 150.0volume:
number
| 0.0 - 1.0
Last updated