Raised This Month: $ Target: $400
 0% 

Just a small issue...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
alien
Senior Member
Join Date: Aug 2005
Location: London || Slovakia
Old 04-11-2007 , 21:45   Re: Just a small issue...
Reply With Quote #6

Ah sorry, I must be blind ...

You're assigning a float value to an integer variable. Just round the value first using floatround().

PHP Code:
XP[kid] = floatround(XPMultiply[kid] * XPGain
:-)
alien is offline
Send a message via ICQ to alien
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:44.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode