Jump to content

No Damage entre Miembros de Gang


elchinooo98

Recommended Posts

Trata de usar esto, no lo he probado.

addEventHandler ( "onClientPlayerDamage", getRootElement(), 
function( attacker, weapon, bodypart, loss ) 
    local myself = getElementData(localPlayer, "gang") 
    local otherguy = getElementData(attacker, "gang") 
    if myself == "SWAT" and otherguy == "SWAT" then 
        cancelEvent() 
    end 
end) 

Link to comment
  • Recently Browsing   0 members

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