Phone
Client events that are in some way related to the phone aspects.
On 911 call
This event is triggered when a user calls 911 through their phone in the main menu. This is the events that are being used in the emergency jobs for example.
The server id of the user who called.
The coords of the caller. Table are in .x, .y, .z form.
The description of the call.
The service required when calling 911. Can be either "fire_ems" or "police" as a index.
The call id of the call, Basically gets the new size of the table.
AddEventHandler('__WOSA:911_CALL', function(CallerPlayerID, coords, callInfo, serviceCalled, callID)
end)On service call
This event is triggered when a user calls a general service through their phone in the main menu.
The server id of the user who called.
The coords of the caller. Table are in .x, .y, .z form.
The description of the call.
The service required when calling 911. Can be either "fire_ems" or "police" as a index.
The call id of the call, Basically gets the new size of the table.
AddEventHandler('__WOSA:SERVICE_CALL', function(CallerPlayerID, coords, callInfo, serviceCalled, callID)
end)Last updated
Was this helpful?