Jump to content
  • 0

MTA-SA


FeniXMTA

Question

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

There have been no answers to this question yet

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