btw joalson nice rep at uc also xD funny that you just take a copy pasta kek code to your skidded shit btw. I dont blame you thats your nature ;)
Elitedox Official
(05-16-2019 - 04:38 AM)iLLuminder Wrote:This is a shit way of doing this, the easier way is doing this is actually 1 line of code(05-16-2019 - 01:59 AM)Joalson Wrote: I was wondering on how to get this https://prnt.sc/np4vlf? If you have it mind sharing the code? ive been looking everywhere but i couldnt find anything. Also do you know how to get a smoother scroller? thanks
You just have to draw the outer rectangle and change the coordinates to finish. Very simple code.
Code:void SetupScroller()
{
if (optionCount > maxOptions) {
if (currentOption > maxOptions) {
GRAPHICS::DRAW_RECT(0.8900, ((maxOptions * 0.030f) + 0.1410f), 0.0050, 0.0285, SRL_R, SRL_G, SRL_B, 189);
//SPRITE("hunting", "huntingwindarrow_32", 0.6180, ((maxOptions * 0.030f) + 0.1413f), -0.0100, 0.0350, 269, SRL_R, SRL_G, SRL_B, 255);
}
else {
GRAPHICS::DRAW_RECT(0.8900, ((currentOption * 0.030f) + 0.1410f), 0.0050, 0.0285, SRL_R, SRL_G, SRL_B, 189);
//SPRITE("hunting", "huntingwindarrow_32", 0.6180, ((currentOption * 0.030f) + 0.1413f), -0.0100, 0.0350, 269, SRL_R, SRL_G, SRL_B, 255);
}
}
else {
GRAPHICS::DRAW_RECT(0.8900, ((currentOption * 0.030f) + 0.1410f), 0.0050, 0.0285, SRL_R, SRL_G, SRL_B, 189);
}
}
by RF0oD x M0Dz
(05-20-2019 - 01:45 AM)GeostormXD Wrote:(05-16-2019 - 04:38 AM)iLLuminder Wrote:This is a shit way of doing this, the easier way is doing this is actually 1 line of code(05-16-2019 - 01:59 AM)Joalson Wrote: I was wondering on how to get this https://prnt.sc/np4vlf? If you have it mind sharing the code? ive been looking everywhere but i couldnt find anything. Also do you know how to get a smoother scroller? thanks
You just have to draw the outer rectangle and change the coordinates to finish. Very simple code.
Code:void SetupScroller()
{
if (optionCount > maxOptions) {
if (currentOption > maxOptions) {
GRAPHICS::DRAW_RECT(0.8900, ((maxOptions * 0.030f) + 0.1410f), 0.0050, 0.0285, SRL_R, SRL_G, SRL_B, 189);
//SPRITE("hunting", "huntingwindarrow_32", 0.6180, ((maxOptions * 0.030f) + 0.1413f), -0.0100, 0.0350, 269, SRL_R, SRL_G, SRL_B, 255);
}
else {
GRAPHICS::DRAW_RECT(0.8900, ((currentOption * 0.030f) + 0.1410f), 0.0050, 0.0285, SRL_R, SRL_G, SRL_B, 189);
//SPRITE("hunting", "huntingwindarrow_32", 0.6180, ((currentOption * 0.030f) + 0.1413f), -0.0100, 0.0350, 269, SRL_R, SRL_G, SRL_B, 255);
}
}
else {
GRAPHICS::DRAW_RECT(0.8900, ((currentOption * 0.030f) + 0.1410f), 0.0050, 0.0285, SRL_R, SRL_G, SRL_B, 189);
}
}
by RF0oD x M0Dz