public ScrollU(){ // by Luby if(TVBarEnabled){ new temp[2048]; new temp2[2048]; if(strlen(TVBarText)>1){ if(TVBarText[0] == '~' && TVBarText[2] == '~'){ if(strlen(TVBarText)>3){ if(TVBarText[4] != '~' && TVBarText[6] != '~'){ if(TVBarColorBuffer[1] != TVBarText[1]){ TVBarColorBuffer[0] = TVBarText[0]; TVBarColorBuffer[1] = TVBarText[1]; TVBarColorBuffer[2] = TVBarText[2]; } for(new g=0;g6){ if(TVBarColorBuffer[1] != TVBarText[5]){ TVBarColorBuffer[0] = TVBarText[4]; TVBarColorBuffer[1] = TVBarText[5]; TVBarColorBuffer[2] = TVBarText[6]; } for(new g=0;g247)if(temp[g] != '~' && temp[g+1] != '~')break; else { temp2[g] = temp[g]; temp2[g+1] = temp[g+1]; temp2[g+2] = temp[g+2]; temp2[g+3] = temp[g+3]; break; } temp2[g] = temp[g]; } TVBarText = temp; if(strlen(temp2)){ TextDrawSetString(TVBar, temp2); } } else { format(TVBarText, 2048, "______________________________________________________________________________________________________________________________________________________________________________________________________%s", TVBarOryginal); TextDrawSetString(TVBar, TVBarText); } } }