Jump to content

Animation


yToPzz

Recommended Posts

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)

 

Link to comment
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?

 

Link to comment
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
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...