So, I was testing something and noticed that if you add a variable of type float to one of type any, it will give you a strange result. I guess this is a bug with the compiler.
Code:
#include <amxmodx>
public plugin_init()
{
register_plugin("Plugin", "Version", "Author")
new any:number1 = 100.0
new Float:number2 = 200.0
server_print("^t^tnumber1 + number2: %f", number1+number2)
}
Output:
Code:
number1 + number2: -0.000000
I'm currently running amxmodx version 1.9.0.5271
__________________