Jump to content

Need Help..


Parazitas

Recommended Posts

Posted

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! :wink:

Posted
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! :wink:

Profesion? you mean team? and if players is in "Pilot" then can't kills players in "Medic"?

Posted

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.

Posted

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) 

Posted

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.

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