Raised This Month: $ Target: $400
 0% 

Negative Sign on Needed Amount


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
infek
Senior Member
Join Date: May 2009
Location: Behind you
Old 07-25-2010 , 20:42   Re: Negative Sign on Needed Amount
Reply With Quote #3

Thanks, alot. I Already know < is less than but
PHP Code:
if( exp >= cost 
   {
    if( 
is_user_aliveid ) )
    {
     if( !
ItemUsed[id] )
     {
      
ColorChatidGREEN"[%s]^x01 You have purchased^x03 This item!"TITLE );
      
pointsid ] -= cost
      ItemUsed
[id] = true
other part
PHP Code:
   else if( exp cost )
   {
    
ColorChatidGREEN"[%s]^x01 You need %i more XP to buy This Item"TITLEleft);
    return 
PLUGIN_HANDLED;
   }
  } 
thats why i have exp < cost so if they have a less amount it'll show them they how much they need left the problem is it shows You need -Numberhere to buy this item
__________________
"Domo Arigato, Mr. Roboto!"
PM me if you want to know a secret

Last edited by infek; 07-25-2010 at 20:47.
infek is offline
 



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 00:18.


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