if you load ip-PointMod and save ip-KDRATIO as the keys you're not going to get consistent results. Just in case you didn't know that....
Also, not functionally different, but use
formatex, its faster. And, again, use strtok instead of replace and parse. It'll be faster.
and....
Code:
ColorChat(0, GREY, "%s ^4%s ^1has a ratio of: ^4%.2f", Prefix, name, Ratio);
PHP Code:
ColorChat(0, GREY, "%s ^4%s ^1has a ration of: ^4%f", Prefix, name, Ratio)
%f displays a float value. %.2f displays "%.2f". This will also cause the program to not have proper displays. Because Ratio is trying to display to nothing the engine will ignore this call and continue execution.
P.S. There is no point in adding a "KDRATIO" or "PointMod" to your key. If you need a difference, just use different vaults. It'll make it better organized and each vault smaller. (i don't know if vaultkeys are sorted or hashed, but if they're sorted....that will in turn make it faster. If they are hashed....well done developers.
__________________