Jump to content

[Solved]scoreboard scroll


Weii.

Recommended Posts

Posted (edited)

How could I modify a table so it will only show 16 players and when the scroll with mouse wheel it shoud show 1 more and 1 less at top... I am making a scoreboard, I hope you undersand me

Edited by Guest
Posted

You could use do that with an offset variable like

local offset = 0

onClientScroll or smth like that

and then just offset +/- 1

and then add it to the Y axis variable at your drawing function like:

dxDrawText("player",x,y-offset,.....)

hope this helps you.

Sent from my phone.

Posted

this is a bit hard for me since everything is done, I would like to know how to set a index like from 3 to 19 to show on scoreboard.

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...