Fox261098 Posted January 7, 2016 Share Posted January 7, 2016 How to make a door move for one group on dayz? Link to comment
ViRuZGamiing Posted January 7, 2016 Share Posted January 7, 2016 local playerTeam = getPlayerTeam (source) if (getTeamName(playerTeam) == "dayz") then end Link to comment
Tekken Posted January 8, 2016 Share Posted January 8, 2016 Actually is like this: addCommandHandler("open", function(player) local gang = getElementData(player, "gang") or false; if (gang ~= false and gang == "The Gang Name") then --move the gate. end end); Link to comment
ViRuZGamiing Posted January 8, 2016 Share Posted January 8, 2016 Actually is like this: addCommandHandler("open", function(player) local gang = getElementData(player, "gang") or false; if (gang ~= false and gang == "The Gang Name") then --move the gate. end end); I suppose this is a DayZ thing and the gangs are set by default? I just thought his group was called dayz. Link to comment
Tekken Posted January 8, 2016 Share Posted January 8, 2016 Actually is like this: addCommandHandler("open", function(player) local gang = getElementData(player, "gang") or false; if (gang ~= false and gang == "The Gang Name") then --move the gate. end end); I suppose this is a DayZ thing and the gangs are set by default? I just thought his group was called dayz. Yea, this is how gangs are set by default in DayZ. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now