How do i make the health_bar plugin get more blocks...
I noticed it only works if my move,mana, and hp are below 100,000 and if they are at that or below then it says CInt overflow..and it doesnt work at all... Why is that?
If I remember correctly, it's a percentage (for the blocks). So you needn't add more blocks.
Ints are restricted to 362something (36000ish), which is sixteen bits. Since you're using integers (and not anything with a decimal) you can change it to long (CLng), if you do need to use a decimal place, then use a Double (CDbl).
Change this line :
pc = CInt ((CInt (iCurrent) / CInt (iMax)) * 10)
to
pc = CInt ((CLng (iCurrent) / CLng (iMax)) * 10)
That should work, although I just looked through and did that quickly, there might be other repercussions.