Jump to content

Ped's Dancing


MiniGoveya

Recommended Posts

I have tried with this but isn't work:

function pedLoad ( name ) 
   ped1 = createPed ( 181, 6300.6533203125, -279.70327758789, 35.169315338135 ) 
   setPedRotation (ped1, 342) 
   setPedAnimation( ped1, "ped", "DAN_Loop_A") 
end 
addEventHandler ( "onResourceStart", getRootElement(), pedLoad ) 

What is wrong?

Link to comment

Try this, it should work.

function makePed() 
   ped1 = createPed ( 181, 6300.6533203125, -279.70327758789, 35.169315338135 ) 
   setPedRotation(ped1, 315) 
   setPedAnimation( ped1, "ped","WOMAN_walknorm") 
end 
addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource()), makePed ) 

Btw, this is client side.

Link to comment
Try this, it should work.
function makePed() 
   ped1 = createPed ( 181, 6300.6533203125, -279.70327758789, 35.169315338135 ) 
   setPedRotation(ped1, 315) 
   setPedAnimation( ped1, "ped","WOMAN_walknorm") 
end 
addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource()), makePed ) 

Btw, this is client side.

Thanks :roll:

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