Raised This Month: $91 Target: $400
 22% 

XP/Levels Hud Question


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
josko
Member
Join Date: Dec 2008
Old 05-10-2019 , 09:56   XP/Levels Hud Question
Reply With Quote #1

Hello!

I'm trying to move the XP/Levels Hud from middle to the side of the screen, how do I do it?

I have looked everywhere, even in the superhero plugin itself, but found nothing!

Im sure there is a way to move that hud rather than having it infront of your crosshairs...
josko is offline
heliumdream
Senior Member
Join Date: Aug 2006
Old 06-08-2019 , 11:39   Re: XP/Levels Hud Question
Reply With Quote #2

Inside the respective script, look for the lines of code that draw the text in the HUD.
It will have number values, those number values control the x,y coordinates on the screens.
Recompile the script, replace the old amxx with the new.
__________________


Thank you for playing.
heliumdream is offline
aEEk
Member
Join Date: May 2012
Location: Romania
Old 08-09-2019 , 15:50   Re: XP/Levels Hud Question
Reply With Quote #3

Check this out https://forums.alliedmods.net/showthread.php?t=110759
aEEk is offline
Send a message via Yahoo to aEEk Send a message via Skype™ to aEEk
landfall
New Member
Join Date: Feb 2019
Old 10-25-2019 , 19:32   Re: XP/Levels Hud Question
Reply With Quote #4

Players can change this with hud_centerid 0. I had this issue with Counter-Strike: Condition Zero, the game had hud_centerid 1 by default.

You as a server can display this message as a hud message to avoid the problem. Search for writeStatusMessage(id, const message[64]) in superheromod.sma, this is what you want to change.
__________________
landfall is offline
Reply


Thread Tools
Display Modes

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


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