Jump to content

SetElmanetSpeed player speed


HoLsTeN

Recommended Posts

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

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