Jump to content

onPlayerStealthKill { Problem }


KillerX

Recommended Posts

Posted

hello everyone

When I use the onPlayerStealthKill event i got this Error

function onStealthKill(targetPlayer)
	 outputChatBox( 'Debug :| ' )
end
addEventHandler("onPlayerStealthKill", getRootElement(), onStealthKill)

addCommandHandler( '1' , 
	function( player )
		if ( thePed ) then
			destroyElement( thePed )
			thePed = nil
		end
		local x , y , z = getElementPosition( player )
		thePed = createPed( 0 , x , y , z )
	end
)

 

p_999ghy9o1.png

                                                         هل ساعدتك في شئ ؟؟؟؟

                                                Mmpe7Jm.gif

                                                   latest?cb=20170707023932                 

                                            KillerX#9078

Posted
12 hours ago, Dimos7 said:

It client or server side? 

Server

6 hours ago, Gordon_G said:

extract from wiki :

 

Parameters

element targetPlayer
  • targetPlayer: the player or ped that is being stealth killed.

                                                         هل ساعدتك في شئ ؟؟؟؟

                                                Mmpe7Jm.gif

                                                   latest?cb=20170707023932                 

                                            KillerX#9078

Posted
52 minutes ago, KillerX said:

being

pm pls

  • Like 1

Skype 01100001 01101100 01101001 01011111 01101101 01110100 00110001 00111001 00111001 00111001

every thing is gonna be alright

every thing is gonna be okay

it's gonna be a good good life

that's what my therapist say

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