βοΈCalls
State Bags Instead of Events
Why State Bags Instead of Events?
Example Usage
-- Check if player is in a call
local player = Player(source)
if player.state.inCall then
local callId = player.state.callId
local callStatus = player.state.callStatus
print("Player is in call:", callId)
print("Call type:", callStatus.callType)
print("Caller:", callStatus.callerNumber)
endLast updated