Jump to content

gatemove for one dayz group?


Fox261098

Recommended Posts

Posted
local playerTeam = getPlayerTeam (source)  
    if (getTeamName(playerTeam) == "dayz") then 
  
    end 

"If debugging is the process of removing software bugs, then programming must be the process of putting them in."

Posted

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); 

Resources I made:

Do not PM me for help with leaked scripts! I WILL NOT HELP YOU!

 

Posted
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.

"If debugging is the process of removing software bugs, then programming must be the process of putting them in."

Posted
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.

Resources I made:

Do not PM me for help with leaked scripts! I WILL NOT HELP YOU!

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...