Raised This Month: $ Target: $400
 0% 

How can i make ocixcrom level plugin to show 5,000/10,000Xp in hud?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
GlobalPlague
Senior Member
Join Date: Feb 2016
Location: Pluto
Old 02-16-2022 , 17:42   Re: How can i make ocixcrom level plugin to show 5,000/10,000Xp in hud?
Reply With Quote #5

Quote:
Originally Posted by OciXCrom View Post
Impossible. Post the full code with your changes.
Wait... it was my mistake.

I forgot i edited your plugin a little bit.

The AddCommas function works only for the original HUD message of your plugin, but doesn't work for the edited HUD message.

My ZM server doesn't use the original HUD message. Instead, i disabled it:

Code:
HUDINFO_ENABLED = 1
===>

Code:
HUDINFO_ENABLED = 0
I had to enable the original HUD, so i can see the comma, and realize the AddCommas function actually works perfectly.

See this screenshot: https://pasteboard.co/X1vmEk3HoSoa.jpg

As you can see in the image above, the AddCommas function works only for the original HUD, but not for the edited HUD - the HUD added in the ZP HUD info message.

I would like the original HUD to be disabled, so only the edited HUD to remain. In other words, i want the comma to be added to the HUD rank message that is part of the ZP HUD info message.

Do you understand what I'm talking about? My English is bad, but i will try explaining better, if you don't understand me.

Last edited by GlobalPlague; 02-16-2022 at 17:43.
GlobalPlague 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 11:42.


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