11-03-2013, 06:01 PM
Hi guys.
In short, why is this not working on dedicated?
In short, why is this not working on dedicated?
Code:
if (isServer) then { private ["_guns","_guncount"]; while {(alive player) and (player iskindOf "Man")} do { _guns = Weapons player; _guncount = {not (_x in ["Binocular", "ItemCompass", "ItemGPS", "ItemRadio", "ItemWatch", "ItemMap", "M9"])} count _guns; if !(_guncount < 1) then { Obj2 = true;publicVariable "Obj2";}; }; };