HoLsTeN Posted January 29, 2011 Share Posted January 29, 2011 hi all i want to make script for fast move or fast speed you buy speed to be fast this code for Example addEvent("fast", true) addEventHandler("fast", getRootElement(), function() if ( getPlayerMoney (source) >= 5000 ) then takePlayerMoney(source, 5000) SetElmanetSpeed (score , 3) outputChatBox("now you are faster", source, 255, 255, 0, true) else outputChatBox("Not enough money.", source, 255, 0, 0, true) end end ) i dont know the proplem pleas help Link to comment
Aibo Posted January 29, 2011 Share Posted January 29, 2011 wtf is SetElmanetSpeed and score? Link to comment
HoLsTeN Posted January 29, 2011 Author Share Posted January 29, 2011 i jast test it is not work i want help !!! Link to comment
MaddDogg Posted January 29, 2011 Share Posted January 29, 2011 There are two obvious typos (wrongly written function/variable names) in your script. They're EXTREMELY easy to spot. You also might wanna use setElementVelocity. Link to comment
HoLsTeN Posted January 29, 2011 Author Share Posted January 29, 2011 I Mean like in freeroam speed but here not free jast this what i want plead help me Link to comment
Castillo Posted January 29, 2011 Share Posted January 29, 2011 that's setGameSpeed if i'm not wrong. Link to comment
Deltanic Posted January 29, 2011 Share Posted January 29, 2011 Dude, learn English or use a translator like Google translate.. That will make it us much easier to understand your problem.. Link to comment
HoLsTeN Posted January 29, 2011 Author Share Posted January 29, 2011 MAN I MEAN GAME SPED Link to comment
MaddDogg Posted January 29, 2011 Share Posted January 29, 2011 MAN THAN USE IT! In your script there are OBVIOUS mistakes, if you don't want to see it, then don't, but no one will fix that for you. Link to comment
proracer Posted January 29, 2011 Share Posted January 29, 2011 As Solidsnake14 said you must this functions: https://wiki.multitheftauto.com/wiki/GetPlayerMoney https://wiki.multitheftauto.com/wiki/TakePlayerMoney https://wiki.multitheftauto.com/wiki/SetGameSpeed Good luck! Link to comment
HoLsTeN Posted January 30, 2011 Author Share Posted January 30, 2011 As Solidsnake14 said you must this functions:https://wiki.multitheftauto.com/wiki/GetPlayerMoney https://wiki.multitheftauto.com/wiki/TakePlayerMoney https://wiki.multitheftauto.com/wiki/SetGameSpeed Good luck! thank you man Link to comment
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