Black2 Posted May 21, 2015 Share Posted May 21, 2015 I was wondering how to do some teams not shoot.Thanks in advance Link to comment
Enargy, Posted May 22, 2015 Share Posted May 22, 2015 I was wondering how to do some teams not shoot.Thanks in advance If I get you, you're looking for this? teamList = { -- you must add some teams here. ["SWAT"] = true, ["Police"] = true, ["Civil"] = true } function checkPlayerInTeam( ) local team = getPlayerTeam( getLocalPlayer() ) if team then if ( teamList[getTeamName( team )] ) then toggleControl("fire", false); end else toggleControl("fire", true); end end setTimer(checkPlayerInTeam, 1000, 0 ) -- every second it will check if you are in team. Link to comment
Tekken Posted May 22, 2015 Share Posted May 22, 2015 I think this is what he want: setTeamFriendlyFire Link to comment
Mr.unpredictable. Posted May 22, 2015 Share Posted May 22, 2015 I think this is what he want:setTeamFriendlyFire I guess he doesn't want that because he alredy asked about friendyfire here viewtopic.php?f=91&t=88187 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