mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Send dayz_playerName as array
This avoids triggering PV value restrictions when the player has keywords or special characters in their name.
This commit is contained in:
@@ -118,10 +118,10 @@ if(_primweapon != (primaryWeapon _newUnit)) then {
|
||||
_newUnit addWeapon _primweapon;
|
||||
};
|
||||
if (_primweapon == "MeleeCrowbar") then {
|
||||
_newUnit addMagazine 'crowbar_swing';
|
||||
_newUnit addMagazine 'Crowbar_Swing';
|
||||
};
|
||||
if (_primweapon == "MeleeSledge") then {
|
||||
_newUnit addMagazine 'sledge_swing';
|
||||
_newUnit addMagazine 'Sledge_Swing';
|
||||
};
|
||||
if (_primweapon == "MeleeHatchet_DZE") then {
|
||||
_newUnit addMagazine 'Hatchet_Swing';
|
||||
|
||||
Reference in New Issue
Block a user