21.07.2009, 07:55
I was wondering why floats worked and mine didn't so I tried
[code=pawn]#include <a_samp>
public OnFilterScriptInit()
{
new Float:a = 5, Float:b = 5;
a++;
b--;
printf("a = %.0f, b = %.0f", a, b);
return 1;
}[/code]
and got
so there's a pretty massive bug somewhere in the compiler.
[code=pawn]#include <a_samp>
public OnFilterScriptInit()
{
new Float:a = 5, Float:b = 5;
a++;
b--;
printf("a = %.0f, b = %.0f", a, b);
return 1;
}[/code]
and got
Quote:
a = 6, b = 6 |