Skip to content

Commit da0894d

Browse files
authored
Update mtaserver.conf.template
1 parent 451cb9d commit da0894d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Server/mods/deathmatch/mtaserver.conf.template

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

157+
<!-- This parameter specifies the interval at which the onDamageEventCancelled event can be sent.
158+
Value: 50-4000, default: 1000 -->
159+
<cancelled_damage_send_interval>1000</cancelled_damage_send_interval>
160+
157161
<!-- This parameter can improve the reliability of shots when using certain weapons. However, it uses more bandwidth.
158162
Values: 0 - disabled , 1 - enabled ; default value: 1. -->
159163
<bullet_sync>1</bullet_sync>
@@ -317,4 +321,12 @@
317321
<!-- This parameter determines if resource client files that end in PNG, DFF and TXD should be checked for errors;
318322
Values: 0 - Off, 1 - Enabled. Default - 1 -->
319323
<resource_client_file_checks>1</resource_client_file_checks>
324+
325+
<!-- 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.
326+
Values: 0 - Off, 1 - Enabled. Default: 0 -->
327+
<cancelled_damage_for_vehicles>0</cancelled_damage_for_vehicles>
328+
329+
<!-- 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).
330+
Values: 0 - Off, 1 - Enabled. Default: 1 -->
331+
<cancelled_damage_send_frame_based_dmg>1</cancelled_damage_send_frame_based_dmg>
320332
</config>

0 commit comments

Comments
 (0)