Tenho essa funçao de Ant-Kill,mais ela é por Team queria passar para Acl,como faço ?
function createTeamsOnStart ()
local allTeams = getElementsByType ( "team" )
for index, theTeam in ipairs(allTeams) do
if ( getTeamFriendlyFire ( theTeam ) == true ) then
setTeamFriendlyFire ( theTeam, false )
end
end
end
addEventHandler("onResourceStart", resourceRoot, createTeamsOnStart)
Question
FeniXMTA
Tenho essa funçao de Ant-Kill,mais ela é por Team queria passar para Acl,como faço ?
function createTeamsOnStart ()
local allTeams = getElementsByType ( "team" )
for index, theTeam in ipairs(allTeams) do
if ( getTeamFriendlyFire ( theTeam ) == true ) then
setTeamFriendlyFire ( theTeam, false )
end
end
end
addEventHandler("onResourceStart", resourceRoot, createTeamsOnStart)
Link to comment
0 answers to this question
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