mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Log antiwall in server.rpt
This commit is contained in:
@@ -35,9 +35,12 @@ if ((count _intersectsWith) > 0) then {
|
|||||||
};
|
};
|
||||||
|
|
||||||
if(_activated) then {
|
if(_activated) then {
|
||||||
|
|
||||||
// this method is said to be faster than switch, lets try it.
|
// this method is said to be faster than switch, lets try it.
|
||||||
call {
|
call {
|
||||||
|
PVDZ_sec_atp = format["WARNING: Play3r UID#%1 exited %2 close to a building at position %3 (%4)",(getPlayerUID player), (typeOf _vehicle), (getposATL player), (mapGridPosition (getposATL player))];
|
||||||
|
publicVariableServer "PVDZ_sec_atp";
|
||||||
|
|
||||||
if (DZE_AntiWallCounter == DZE_AntiWallLimit) exitWith {
|
if (DZE_AntiWallCounter == DZE_AntiWallLimit) exitWith {
|
||||||
localize "str_epoch_player_9" call dayz_rollingMessages;
|
localize "str_epoch_player_9" call dayz_rollingMessages;
|
||||||
[player,"crushed"] call player_death;
|
[player,"crushed"] call player_death;
|
||||||
@@ -66,7 +69,7 @@ if(_activated) then {
|
|||||||
localize "str_epoch_player_9" call dayz_rollingMessages;
|
localize "str_epoch_player_9" call dayz_rollingMessages;
|
||||||
[player,"crushed"] call player_death;
|
[player,"crushed"] call player_death;
|
||||||
};
|
};
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
DZE_AntiWallCounter = 0;
|
DZE_AntiWallCounter = 0;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user