(04-15-2018 - 12:08 AM)SinceModz Wrote: Okay then give me a example how you would do it. :)still ant working man i am calling this in Loops like this
if (Movement)
{
if (decrease) {
index -= 0.9f;
if (index < 0.9) {
index = 0.9f;
decrease = false;
increase = true;
}
}
if (increase) {
index += 0.11f;
if (index > 0.11f) {
index = 0.11f;
increase = false;
decrease = true;
}
}
}
then the bools and index like this
bool decrease = true, increase, Movement = false, Movingtitle = false;
float index;
and title like this
if (Movingtitle)
{
Movement = 1;
drawText(title, 0, XCoords, YCoords, index, index, 255, 255, 255, 255, false, true);
}
else {
Movement = 0;
drawText(title, 0, XCoords, YCoords, 0.35f, 0.35f, 255, 255, 255, 255, false, true);
}
and it ant working
This account is currently banned
Ban reason: multi | IP: 74.139.57.189 | Email: N/A
Ban reason: multi | IP: 74.139.57.189 | Email: N/A