Jump to content

Ped kill...


berry172

Recommended Posts

function cancelpedkills(vPed) 
if getElementType ( vPed ) == "ped" then cancelEvent() 
    end 
end 
addEventHandler("onClientPlayerStealthKill", localPlayer, cancelpedkills) 

can't you read?

onClientPlayerStealthKill

Link to comment
function cancelpedkills(vPed) 
if getElementType ( vPed ) == "ped" then cancelEvent() 
    end 
end 
addEventHandler("onClientPlayerStealthKill", localPlayer, cancelpedkills) 

can't you read?

onClientPlayerStealthKill

targetPlayer: The player or ped that is being stealth killed.

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