Files
DayZ-Epoch/SQF/dayz_code/system/antihack.sqf
ebaydayz 7b287a2a23 Send PVDZ_sec_atp messages as array
Vanilla development commits:

6e0fd6203b

78ed0665fa
2016-08-12 17:23:49 -04:00

22 lines
842 B
Plaintext

/* Block local script execution bug. Still not fixed in A20A as of 1.63.131129 */
inGameUISetEventHandler ["PrevAction","false"];
inGameUISetEventHandler ["NextAction","false"];
inGameUISetEventHandler ["Action","false"];
// (c) facoptere@gmail.com, licensed to DayZMod for the community
//
// check that plants libs are properly loaded
// thanks to Tansien the great
// run only once per character life
{
_plant = _x createVehicleLocal dayz_centerMarker;
uiSleep 0.1;
if (sizeOf _x == 0) exitWith {
PVDZ_sec_atp = toArray ("Plants texture hack for type " + _x);
publicVariableServer "PVDZ_sec_atp";
endMission "LOSER";
};
deleteVehicle _plant;
} count ["grass","prunus","picea","fallentree","phragmites","acer","amygdalusn","Brush","fiberplant","amygdalusc","boulder"];
diag_log format ["%1: Plants libs tests done!",__FILE__];