How is this possible?
#1

Hello,

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; }
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.
Reply


Messages In This Thread
How is this possible? - by Packadore - 03.06.2010, 18:03
Re: How is this possible? - by FUNExtreme - 03.06.2010, 18:27
Re: How is this possible? - by DeathOnaStick - 03.06.2010, 19:22

Forum Jump:


Users browsing this thread: 1 Guest(s)