Jump to content

Kill function and invisibility for ped


FAST_WOLFS

Recommended Posts

:fadein: Hi, the function KillPed in my script it does not work, an example please :?:

This is for my resource "friendbot". I need to kill a bot and put invisibility, if you can :?

They take part as a helper, if any when the script is run, I mean it works.

So post the script.

Link to comment
Thanks, but not work.

Now, i using other functions...

perro is defined ped? if yes so try this:

  
ped = createPed(id, x, y, z) 
  
function kill (source) 
killPed(ped) 
end 
addCommandHandler("kill", kill) 

If not so try this:

function kill (source) 
killPed(source) 
end 
addCommandHandler("kill", kill) 

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