KillerX Posted September 26, 2018 Share Posted September 26, 2018 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 ) Link to comment
Dimos7 Posted September 26, 2018 Share Posted September 26, 2018 It client or server side? Link to comment
Gordon_G Posted September 27, 2018 Share Posted September 27, 2018 extract from wiki : Quote This event is triggered when a player stealth kills another player. Link to comment
KillerX Posted September 27, 2018 Author Share Posted September 27, 2018 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. Link to comment
Master_MTA Posted September 27, 2018 Share Posted September 27, 2018 52 minutes ago, KillerX said: being pm pls 1 Link to comment
N3xT Posted September 27, 2018 Share Posted September 27, 2018 Which line is 130 above? Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now