diff --git a/RaceTimer/scripting/racetimer_rank.sp b/RaceTimer/scripting/racetimer_rank.sp index ca018717..b705b05f 100644 --- a/RaceTimer/scripting/racetimer_rank.sp +++ b/RaceTimer/scripting/racetimer_rank.sp @@ -292,15 +292,15 @@ public void set_level_tag(int client, int lvl, int I_rank) Format(hexadecimals3, sizeof(hexadecimals3), "%02X%02X%02X", red, green, blue); char tag[128]; - char charlvl[16]; + char charlvl[32]; IntToString(lvl, charlvl, sizeof(charlvl)); - char coloured_numbers[32]; + char coloured_numbers[64]; for (int i = 0; i < strlen(charlvl); i++) { int i2 = i + 2; i2 = i * i; - char number_hexa[16]; + char number_hexa[32]; red = (lvl * (i2 * 37)) % 256; green = ((lvl + (i2 * 50)) * 33) % 256; blue = ((lvl + (i2 * 100)) * 39) % 256; @@ -328,13 +328,13 @@ public void set_level_tag(int client, int lvl, int I_rank) Format(hexadecimals3, sizeof(hexadecimals3), "%02X%02X%02X", red, green, blue); char tag[128]; - char charlvl[16]; + char charlvl[32]; IntToString(lvl, charlvl, sizeof(charlvl)); - char coloured_numbers[32]; + char coloured_numbers[64]; for (int i = 0; i < strlen(charlvl); i++) { - char number_hexa[16]; + char number_hexa[32]; red = (GetRandomInt(0, 255)) % 256; green = (GetRandomInt(0, 255)) % 256; blue = (GetRandomInt(0, 255)) % 256;