Pinda Posted May 17, 2010 Posted May 17, 2010 function resource_starts () object1 = createObject ( 4563, 3132.727539, -1812.778076, 35.675583, 0.045000, 0.000000, 4.710001 ) move1_1 () end addEventHandler ( "onResourceStart", getRootElement(), resource_starts ) function move1_1 () moveObject ( object1, 6000, 4563, 3132.727539, -1812.778076, 35.675583, 0.045000, 0.000000, 4.710001 ) setTimer ( move1_2, 4500, 1 ) end function move1_2 () moveObject ( object1, 6000, 4563, 3132.727539, -1812.778076, 35.675583, 0.045000, 0.000000, 4.710001 ) setTimer ( move1_1, 4500, 1 ) end what i did wrong ?
dzek (varez) Posted May 17, 2010 Posted May 17, 2010 and what is actually wrong? object not moving at all? any errors in console? or any info about your problem? 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)!
kevin11 Posted May 17, 2010 Posted May 17, 2010 look at line 8-13 they are wrong line 13 should be at the pos were the object moves to and object in line 2 is a diferent one then in 8-13
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