MiniGoveya Posted October 22, 2010 Posted October 22, 2010 Hello people, I'm here to ask you, how I can put characters dancing in my map? . Bye.
dzek (varez) Posted October 22, 2010 Posted October 22, 2010 bots? createPed and search the wiki for "animation" .. too lazy to do that? Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
MiniGoveya Posted October 22, 2010 Author Posted October 22, 2010 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?
Ryan1010 Posted October 23, 2010 Posted October 23, 2010 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.
Moderators Zango Posted October 23, 2010 Moderators Posted October 23, 2010 (edited) try setting a timer of 200 ms to apply the rotation and animation if else fails Edited October 25, 2010 by Guest
MiniGoveya Posted October 24, 2010 Author Posted October 24, 2010 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
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