Raised This Month: $ Target: $400
 0% 

how to display the remaining exp?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kendra
Senior Member
Join Date: Feb 2011
Location: Chile
Old 07-10-2012 , 01:44   how to display the remaining exp?
Reply With Quote #1

Code:
print_chatColor(id, "\g[SuperHeroChile]\n Nick: \t%s\n, EXP: \g%d/%d\n, LEVEL: \g%d\n", name, sh_get_user_xp(id),NATIVE(?) , sh_get_user_lvl(id))
which is the native experience to the next level remaining?

when I put the sh_get_lvl_xp(id) is bug
Code:
[SuperHeroChile] Nick: bonini;p, EXP: 524256/800, LEVEL: 31
kendra is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 07-10-2012 , 06:23   Re: how to display the remaining exp?
Reply With Quote #2

This is how i did it in my XP Mode: ColorChat(id, GREEN, "[%s]^x01 Experience Till level %i:^x03 %i", szPrefix, iPlayerLevel[id] + 1, szExperience[iPlayerLevel[id] + 1] - iPlayerXP[id])
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Reply



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 15:21.


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