Jump to content

Animation


yToPzz

Recommended Posts

Posted

other animations with the same functions as this one play normally but this one doesn't want to play can someone tell me what's wrong?


 

function sexomen (source)

    setElementPosition(source, 952.6279296875, -44.8916015625, 1001.8737792969)
	setElementInterior(source, 3)
	setElementRotation(source,0,0,0)
	setCameraTarget(source,source)
	setPedAnimation ( source,"sex", "sex_1_cum_p", -1, true, false, false )

end
addEventHandler("onMarkerHit",markermen,sexomen)

 

Posted
30 minutes ago, yToPzz said:

other animations with the same functions as this one play normally but this one doesn't want to play can someone tell me what's wrong?


 

function sexomen (source)

    setElementPosition(source, 952.6279296875, -44.8916015625, 1001.8737792969)
	setElementInterior(source, 3)
	setElementRotation(source,0,0,0)
	setCameraTarget(source,source)
	setPedAnimation ( source,"sex", "sex_1_cum_p", -1, true, false, false )

end
addEventHandler("onMarkerHit",markermen,sexomen)

 

Do you want to make a marker?

 

Posted (edited)
addEventHandler("onResourceStart", resourceRoot, function()
marker = createMarker(, 'cylinder', 1.0, 255, 255, 255, 255) --Don't forget to set the marker's coordinates
setElementInterior(marker, 6)
end)

try this

I don't understand what you want, but this will help you

This is just an example you can complete it

Edited by Mr.Hugin
Posted
19 minutes ago, Mr.Hugin said:
         

tente isso

Não entendi o que você quer, mas isso vai te ajudar

Este é apenas um exemplo, você pode completá-lo

Thanks

Posted
23 minutes ago, Mr.Hugin said:

you are welcome

I ended up finding out that the animation can't be played because it was blocked by the game but thanks anyway
Posted
16 minutes ago, yToPzz said:
I ended up finding out that the animation can't be played because it was blocked by the game but thanks anyway

you are welcome man

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