Can You Improve This Code?
#2

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.
Reply


Messages In This Thread
Can You Improve This Code? - by mastalol - 20.07.2011, 20:23
Re: Can You Improve This Code? - by Grim_ - 20.07.2011, 20:27
Re: Can You Improve This Code? - by System64 - 20.07.2011, 20:33
Re: Can You Improve This Code? - by mastalol - 20.07.2011, 20:51
Re: Can You Improve This Code? - by Grim_ - 20.07.2011, 20:56
Re: Can You Improve This Code? - by Rafa - 20.07.2011, 21:14
Re: Can You Improve This Code? - by mastalol - 20.07.2011, 21:22
Re: Can You Improve This Code? - by Rafa - 20.07.2011, 21:43
Re: Can You Improve This Code? - by Daren_Jacobson - 20.07.2011, 21:50
Re: Can You Improve This Code? - by mastalol - 20.07.2011, 22:04

Forum Jump:


Users browsing this thread: 3 Guest(s)