Raised This Month: $ Target: $400
 0% 

Progress


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Unkolix
Veteran Member
Join Date: Sep 2012
Old 09-01-2014 , 09:53   Re: Progress
Reply With Quote #2

You want it to be at all times, like a hud message? Or you want to have it just like in your plugin (printed in chat)?

If you want it in chat, like you already have, just in percents, then I guess this should do it:
PHP Code:
public CheckLevel(id)
{
    
Progress[id] = Exp[id] / ExpNeed[Level[id]] * 100
    client_print
(idprint_chat"Exp: %i Progress: %i%% Level: %i"Exp[id], Progress[id], Level[id])


Last edited by Unkolix; 09-01-2014 at 10:01.
Unkolix 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:09.


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