Raised This Month: $ Target: $400
 0% 

Not enuff XP ;O


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
infek
Senior Member
Join Date: May 2009
Location: Behind you
Old 05-30-2010 , 14:10   Not enuff XP ;O
Reply With Quote #1

for some reason it says i dont have enuff XP when i have 700 XP
and i_bMoney = 200
Code:
  new exp = hnsxp_get_user_xp(id);
   new cost = get_pcvar_num(i_bMoney);
 
   if (exp > cost || exp == cost) 
   {
    client_print( id, print_chat, "[%s] You gave me %s just to have a good time!", cost, PLUGIN );
    hnsxp_set_user_xp( id, exp - cost )
 
   }
   else
   {
    client_print( id, print_chat, "[%s] You dont have enuff XP!", PLUGIN );
   }
__________________
"Domo Arigato, Mr. Roboto!"
PM me if you want to know a secret
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 05:22.


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