Jump to content

ممكن؟؟؟


Recommended Posts

  
function playerDamage(attacker, weapon) 
  
     local Team = getTeamFromName("Police") 
  
     local aTeam = getPlayerTeam(attacker) 
  
     if Team and aTeam and Team == aTeam and (weapon == 3) then 
  
          setElementPosition(source, x, y, z) 
  
     end 
  
end 
  
addEventHandler("onPlayerDamage", root, playerDamage) 

انا شفت دا الكود في احد المواضيع وهو مال اذا تضرب احد بالهروة يوديه للسجن

والي ابغيه مثلا اذا راح احد السجن ياخذ وقت معين ويطلع يعني مدة يقعد في السجن وبعدين يطلع

ممكن او لا

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