25.06.2017, 10:37
Quote:
Use an array or a switch. Also perhaps this is just me, but I think admin levels like 1337 or 9999 are super retarded. You need at most 5 or so.
|
Quote:
You can either do a conditional checking based on level variable and initialize a string according to it and display it. Or you can have constant global or static array of strings having nominal meaning of each level so as to use these level variable as indices to access this array contents.
|