Jump to content

Dx Scoreboard - Quick Question


manve1

Recommended Posts

Hello,

As in long time I haven't asked a question. I have one currently and yes i have looked over the forums for the answer, couldn't find the right one.

So my question would be this:

As most should know, MTA has a default scoreboard and I am making my own one using Dx Functions, but before I started coding it, I found a problem, which would be; How could I code scrolling up/down on the scoreboard? Naming the functions will do.

Link to comment

And he answered.

You'll have to use something like onClientKey and/or onClientMouseWheel, check if the key was the mouse wheel(This only applies to onClientKey). Then you'll have to make all sorts of checks if the mouse is hovering above the scoreboard(if you want that) and such things.

There are no specific pre-made functions for scrolling DX-based interfaces.

For dxscoreboard specific exported functions; read this.

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