Jump to content

KillPlayer


Sticmy

Recommended Posts

Hola quisiera saber porque no funciona la función killPed..

Código:

function headshotKill ( attacker ) 
    if getTeamName(getPlayerTeam(localPlayer)) == "Adminis" then 
        killPed ( localPlayer, attacker ) 
    end 
end 
addEventHandler ( "onClientPlayerDamage", getLocalPlayer(), headshotKill ) 

Link to comment
  • Recently Browsing   0 members

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