Jump to content

Impedir que o player corra

Recommended Posts

  • Other Languages Moderators

Estranho. Acabei de testar e está funcionando normal.

Código que eu usei:

local status = false

addCommandHandler("sprint", function(p)
    status = not status
    toggleControl(p, "sprint", status)
    outputChatBox("Sprint is now " .. (status and "enabled" or "disabled") .. ".", p, 0, 255, 0)

Demonstração: https://streamable.com/4gjijx

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