Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0df9c83

Browse files
authored
Merge pull request#76 from Sonoran-Software/ers-event-names
chore(ers): Update ERS event names
2 parentsc4614c8 +7beee3f commit0df9c83

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

‎sonorancad/fxmanifest.lua‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ games {'gta5'}
33

44
author'Sonoran CAD'
55
description'Sonoran CAD FiveM Integration'
6-
version'3.2.13'
6+
version'3.2.14'
77

88
server_scripts {
99
'core/http.js'

‎sonorancad/submodules/ersintegration/sv_ersintegration.lua‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ local postalConfig = Config.GetPluginConfig("postals")
1111
ifpluginConfig.enabledthen
1212
functionstartErs()
1313
debugLog("Starting ERS Integration...")
14-
RegisterNetEvent('SonoranCAD::ErsIntegration::CalloutOffered')
15-
RegisterNetEvent('SonoranCAD::ErsIntegration::CalloutAccepted')
14+
RegisterNetEvent('ErsIntegration::OnIsOfferedCallout')
15+
RegisterNetEvent('ErsIntegration::OnAcceptedCalloutOffer')
1616
RegisterNetEvent('SonoranCAD::ErsIntegration::BuildChars')
1717
RegisterNetEvent('SonoranCAD::ErsIntegration::BuildVehs')
1818
registerApiType('SET_AVAILABLE_CALLOUTS','emergency')
@@ -182,7 +182,7 @@ if pluginConfig.enabled then
182182
911 CALL CREATION
183183
]]
184184
ifpluginConfig.create911Callthen
185-
AddEventHandler('SonoranCAD::ErsIntegration::CalloutOffered',function(calloutData)
185+
AddEventHandler('ErsIntegration::OnIsOfferedCallout',function(calloutData)
186186
localuniqueKey=generateUniqueCalloutKey(calloutData)
187187
debugLog('Generated unqiue key for callout:'..uniqueKey)
188188
ifpluginConfig.clearRecordsAfter~=0andprocessedCalloutOffered[uniqueKey]then
@@ -245,7 +245,7 @@ if pluginConfig.enabled then
245245
EMERGENCY CALL CREATION
246246
]]
247247
ifpluginConfig.createEmergencyCallthen
248-
AddEventHandler('SonoranCAD::ErsIntegration::CalloutAccepted',function(calloutData)
248+
AddEventHandler('ErsIntegration::OnAcceptedCalloutOffer',function(calloutData)
249249
localuniqueKey=generateUniqueCalloutKey(calloutData)
250250
ifpluginConfig.clearRecordsAfter~=0andprocessedCalloutAccepted[uniqueKey]then
251251
localentry=processedCalloutAccepted[uniqueKey]

‎sonorancad/version.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"resource":"3.2.13",
2+
"resource":"3.2.14",
33
"testedFxServerVersion":"5932",
44
"submoduleConfigs": {
55
"bodycam": {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp