Jump to content

تصحيح كود


al-Kobra

Recommended Posts

        addEventHandler ("onPlayerDamage", root, 
        function (attacker) 
             if ( attacker and attacker ~= source  and getPlayerTeam(source) ~= getTeamFromName("No Team") and getPlayerTeam(attacker) == getTeamFromName("Police") ) then 
            local WantedLevel = getPlayerWantedLevel ( source ) 
          if ( WantedLevel == 0 ) then 
            cancelEvent() 
            end 
        end 
    end 
) 

جربه

Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...