Parazitas Posted January 9, 2016 Share Posted January 9, 2016 Hello my friends. I need script: When you in profesion like a (Pilot, medic, stunter, fishman, taxi driver..) you can't kill another players and they can't kill you. I'ts like a C*T2 civilians thei can't be hurt ant they can't hurt others. p.s: Sorry for my bad english.. :c And thank you all who help me! Link to comment
1LoL1 Posted January 9, 2016 Share Posted January 9, 2016 Hello my friends. I need script: When you in profesion like a (Pilot, medic, stunter, fishman, taxi driver..) you can't kill another players and they can't kill you. I'ts like a C*T2 civilians thei can't be hurt ant they can't hurt others. p.s: Sorry for my bad english.. :c And thank you all who help me! Profesion? you mean team? and if players is in "Pilot" then can't kills players in "Medic"? Link to comment
Parazitas Posted January 9, 2016 Author Share Posted January 9, 2016 Yeah just make. if players in tems like a: Pilot, medic, stunter.. and others can't kill/shot make damage. and others players can't kill them. Just Police, criminals, gangs.. can Dm with others. Link to comment
ViRuZGamiing Posted January 9, 2016 Share Posted January 9, 2016 You could do something like this, when someone's being damaged and he's in a team he doesn't take damage. addEventHandler("onPlayerDamage", getRootElement(), function() if (getPlayerTeam(source)) then cancelEvent() end end) Link to comment
Parazitas Posted January 9, 2016 Author Share Posted January 9, 2016 I'ts anti team dm? just need cuz civils like a Pilot, medic, stunter, fisherman and others can't kill and can't be killed others like police or ciminals.. like in C*it2 server.. just Police, criminals can shoot, ant kill: police -criminals, criminals- police. Link to comment
ViRuZGamiing Posted January 9, 2016 Share Posted January 9, 2016 Well if you know how to script you can use my example to convert it into what you want. Regards Billy 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