diff --git a/SQF/dayz_code/compile/player_fired.sqf b/SQF/dayz_code/compile/player_fired.sqf index aa9a28fbb..364c01e0b 100644 --- a/SQF/dayz_code/compile/player_fired.sqf +++ b/SQF/dayz_code/compile/player_fired.sqf @@ -65,8 +65,10 @@ if (_ammo isKindOf "SmokeShell") then { _pos = getPosATL player; _inRange = _pos nearEntities ["CAManBase",1250]; { - PVDZE_send = [_x,"RoadFlare",[_projectile,0]]; - publicVariableServer "PVDZE_send"; + if(isPlayer _x and _x != player) then { + PVDZE_send = [_x,"RoadFlare",[_projectile,0]]; + publicVariableServer "PVDZE_send"; + }; } forEach _inRange; _id = _this spawn player_throwObject; @@ -79,8 +81,10 @@ if (_ammo isKindOf "SmokeShell") then { _pos = getPosATL player; _inRange = _pos nearEntities ["CAManBase",1250]; { - PVDZE_send = [_x,"RoadFlare",[_projectile,1]]; - publicVariableServer "PVDZE_send"; + if(isPlayer _x and _x != player) then { + PVDZE_send = [_x,"RoadFlare",[_projectile,1]]; + publicVariableServer "PVDZE_send"; + } } forEach _inRange; _id = _this spawn player_throwObject;