This Maths is wrong? or the Code?
#1

pawn Код:
new Float:percent;
//new percent; // Tried with both Float and this one...
percent = (playerStats[playerid][pGunSkill]/50)*100;
Whats wrong with that? It just shows up as 0.00000 (or just 0 with the non Float Number)...
Reply


Messages In This Thread
This Maths is wrong? or the Code? - by DarrenReeder - 15.10.2010, 19:29
Re: This Maths is wrong? or the Code? - by Calgon - 15.10.2010, 19:48
Re: This Maths is wrong? or the Code? - by DarrenReeder - 15.10.2010, 20:00
Re: This Maths is wrong? or the Code? - by Babul - 15.10.2010, 20:39
Re: This Maths is wrong? or the Code? - by Simon - 15.10.2010, 21:43

Forum Jump:


Users browsing this thread: 1 Guest(s)