mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-25 01:49:19 +03:00
Add server side security
This can be used to break a player's legs.
This commit is contained in:
@@ -13,7 +13,7 @@ if (!isNull _ent && {player distance _ent < 5}) then {
|
|||||||
_ent setDamage 1;
|
_ent setDamage 1;
|
||||||
} else {
|
} else {
|
||||||
/* PVS/PVC - Skaronator */
|
/* PVS/PVC - Skaronator */
|
||||||
PVDZ_send = [_ent,"Legs",[_ent,player]];
|
PVDZ_send = [_ent,"Legs",[_ent,player],[_ent,dayz_authKey,player]];
|
||||||
publicVariableServer "PVDZ_send";
|
publicVariableServer "PVDZ_send";
|
||||||
};
|
};
|
||||||
[player,"hit",0,false] call dayz_zombieSpeak;
|
[player,"hit",0,false] call dayz_zombieSpeak;
|
||||||
|
|||||||
Reference in New Issue
Block a user