Skip to content

Commit 66e9700

Browse files
authored
Update local.conf
1 parent f0478ac commit 66e9700

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Server/mods/deathmatch/local.conf

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,10 @@
153153
<!-- Keysync analog movement sync interval. For limiting key sync packets due to joystick movement. Default: 100 -->
154154
<keysync_analog_sync_interval>100</keysync_analog_sync_interval>
155155

156+
<!-- This parameter specifies the interval at which the onDamageEventCancelled event can be sent.
157+
Value: 50-4000, default: 1000 -->
158+
<cancelled_damage_send_interval>1000</cancelled_damage_send_interval>
159+
156160
<!-- This parameter can improve the reliability of shots when using certain weapons. However, it uses more bandwidth.
157161
Values: 0 - disabled , 1 - enabled ; default value: 1. -->
158162
<bullet_sync>1</bullet_sync>
@@ -302,6 +306,14 @@
302306
Values: 0 - Off, 1 - Enabled. Default - 1 -->
303307
<check_duplicate_serials>1</check_duplicate_serials>
304308

309+
<!-- This parameter specifies whether the onDamageEventCancelled event should also be triggered for vehicles, i.e. when onClientVehicleDamage is cancelled. Every hit or scrape on a vehicle counts as damage for it, so if you are naturally cancelling this event, it is recommended to leave this parameter set to 0 to avoid unnecessary event flooding.
310+
Values: 0 - Off, 1 - Enabled. Default: 0 -->
311+
<cancelled_damage_for_vehicles>0</cancelled_damage_for_vehicles>
312+
313+
<!-- This parameter specifies whether the onDamageEventCancelled event should be triggered when a ped takes damage every frame (drowning, burning, fire extinguisher, spraycan, runover by car, minigun, chainsaw cutting, teargas).
314+
Values: 0 - Off, 1 - Enabled. Default: 1 -->
315+
<cancelled_damage_send_frame_based_dmg>1</cancelled_damage_send_frame_based_dmg>
316+
305317
<!-- Specifies the module(s) which are loaded with the server. To load several modules, add more <module>
306318
parameter(s). Optional parameter. -->
307319
<!-- <module src="sample_win32.dll"/> -->

0 commit comments

Comments
 (0)