Jump to content

Recommended Posts

Posted

Hello everyone! How in -debug mode I can get the speed of my character and display it on the screen.
I am trying to do like this:
 

function CheckSpeed()
    local player = getSpecificPlayer(0);
    print(player.CurrentSpeed);
end 

Events.OnTick.Add(CheckSpeed);


but it doesn't work and return nil

Thank you

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
×
×
  • Create New...