03.06.2010, 18:03
Hello,
Look at this:
So it's clear that 100 is not smaller than 0, so why is this statement still returning true?
I checked my whole script and there's note a single piece of code that could interfer with those variables.
Please help, thanks.
Look at this:
pawn Код:
printf("[AMMO_31_svvar] %d",PlayerInfo[playerid][pSlot5Ammo]); // Returns 100 value.
printf("[AMMO_31_unsvar] %d",PlayerAmmo[playerid][5]); // Returns 0 value.
if(PlayerInfo[playerid][pSlot5Ammo] < PlayerAmmo[playerid][5]) { return 1; }
I checked my whole script and there's note a single piece of code that could interfer with those variables.
Please help, thanks.