Jump to content

ماتقتل خويك : تم الافادة من قبل سفاح


Recommended Posts

السسلام عليككم

..

ككيفكم ي ابططال

! باختصأر ركبت لي مود قروبات والمشكله اقدر اقتل خويي بالقروب

اذكر مان كان في كود يمنع تقتل خويك لكن ماحصلته مرة يوك بحثت

لذالك اتمنى اللي قد شاف الكود يطرحة لي باختصـأر ساعدوني : )

Edited by Guest
Link to comment

addEventHandler ("onClientPlayerDamage", localPlayer,  
    function (attacker) 
        if (attacker and attacker ~= localPlayer) then 
            if getElementType (attacker) == "player" then 
                local attackerGroup = getElementData (attacker, "Group") 
                local playerGroup = getElementData (localPlayer, "Group") 
                if (attackerGroup == playerGroup) then 
                    cancelEvent () 
                end 
            end 
        end 
    end 
) 
Link to comment
addEventHandler ("onClientPlayerDamage", localPlayer,  
    function (attacker) 
        if (attacker and attacker ~= localPlayer) then 
            if getElementType (attacker) == "player" then 
                local attackerGroup = getElementData (attacker, "Group") 
                local playerGroup = getElementData (localPlayer, "Group") 
                if (attackerGroup == playerGroup) then 
                    cancelEvent () 
                end 
            end 
        end 
    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...