player.Pet.HP / MaxHP
Posted: Tue Dec 21, 2010 1:57 pm
I'm trying to get my pets HP, but when I use
Pet.HP: 726893232
Pet.MaxHP: -1
Am I wrong with using %d for integer or what's the problem?
I get values ofcprintf(cli.blue, "Pet.HP: %d\n", player.Pet.HP);
cprintf(cli.blue, "Pet.MaxHP: %d\n", player.Pet.MaxHP);
Pet.HP: 726893232
Pet.MaxHP: -1
Am I wrong with using %d for integer or what's the problem?