Jump to content

[BUG] onClientCursorMove


Recommended Posts

я не понял суть проблемы, давайте чёчче

Я так понял, что при использовании команды onClientCursorMove, z переменная, которую выводить оная - неверна.

Link to comment

outputChatBox("Z: " .. z)

Вот.

Примерно так:

  
showCursor(true) 
guiSetInputEnabled(true) 
  
addEventHandler("onClientCursorMove", getRootElement(),  
    function (rx, ry, ax, ay, wx, wy, wz) 
        outputChatBox("Z: " .. wz) 
    end 
) 
  

Даёт примерно число -250... Зависит от вашей позиции Z.

Чем ты выше над уровнем моря, тем меньше Z курсора.

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