20.07.2011, 20:27
That code is perfectly fine, and personally, can't see any way of improving it. (Besides using ZCMD, and calling the variable directly (assuming that's what IsPlayerVIPType does))
At the below reply, it is true you could use the switch statement. However, how much better it would be, with the limited amount of code, is very minimal.
At the below reply, it is true you could use the switch statement. However, how much better it would be, with the limited amount of code, is very minimal.