Sign in to follow this  
Chern17

[Question] It is possible to create effect and attach to player/ped?

Recommended Posts

Hello, guys. It is possible to create effect and attach it to player/ped?

This code doesn't works, may be I doing something wrong?

addCommandHandler('eff1',
function()
	local eff
	local x, y, z = getElementPosition(localPlayer)
	
	eff = createEffect('fire', x, y, z, 0.0, 0.0, 0.0)
	setElementInterior(eff, getElementInterior(localPlayer))
	attachElements(eff, localPlayer)
end)

Please help ;)

Share this post


Link to post

quindo, I saw this page, but I was unsure so I ask you.

Thank you!

Share this post


Link to post

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.