Jump to content

طلب كود


Recommended Posts

السلام عليكم و رحمة الله و بركاتة

شباب ابي كود و حاولت فيه بس ما قدرت

المهم : ابي كود اضيف فيه 2 تيمين ما تقدر تقتل بعض

بضيف اسم تايمين تصير ما تقدر تقتل بعض

Link to comment

addEventHandler ( "onClientPlayerDamage", localPlayer, function ( attacker ) 
 if ( attacker and attacker ~= source and getElementType( attacker ) == "player" ) then   
   if ( getPlayerTeam ( source ) and getPlayerTeam ( attacker ) ) then   
     if ( getPlayerTeam ( source ) == getTeamFromName ( "Team1" ) and getPlayerTeam ( attacker ) == getTeamFromName ( "Team2" ) ) then 
         cancelEvent (    ) 
end ) 
Link to comment

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