rhideobject help

istealth

Well-Known Member
I am trying to make a hatchet arena in my server i got all that done but i made a gate so to speak that is controlled by an object to open/close the gate. now when i open the gate other players still see the gate there but on my screen its gone and i can walk though it.

open.sqf
Code:
[nil,eventgate,"per",rHideObject,true] call RE;
publicVariableServer "dayz_updateNearbyObjects";
if (isServer) then {
        dayz_updateNearbyObjects call server_updateNearbyObjects;
    };

close.sqf
Code:
[nil,eventgate,"per",rHideObject,false] call RE;
publicVariableServer "dayz_updateNearbyObjects";
if (isServer) then {
        dayz_updateNearbyObjects call server_updateNearbyObjects;
    };

and in my missions.sqm i have this
Code:
class Item0
        {
            position[]={6448.8892,344.28015,13752.289};
            id=101;
            side="EMPTY";
            vehicle="Concrete_Wall_EP1";
            skill=1;
            text="eventgate";
        };

edit: never mind i found the problem it was the antihack i was using
 
Back
Top