03.06.2017, 02:43
Quote:
Having a timer running every .5 seconds is obviously going to reduce performance as appose to using other methods, especially if it's cluttered.
|
Quote:
Using a lot of variables is also something that should generally be avoided, use data enums and arrays (or utilize MySQL tricks so you don't store locally where able). Things such as g_God where it's either a 0 or 1 value could also be used as a boolean, which has two values: true and false. Simply prefix your variable with bool: (bool: g_God) in the definition and use the true/false values instead of nunmerics.
|
Thanks anyway.