Raised This Month: $ Target: $400
 0% 

Servername in HUD


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zukku
Junior Member
Join Date: Nov 2005
Old 10-28-2006 , 20:44   Servername in HUD
Reply With Quote #1

This is for TSRP.
I am running a TSRP server and i would like to add my servername in the HUD. But i dont really know how?
It should be like this:

My server
Wallet $0
Account $0
Salary $0
Job: Unemployed
Payday 20 min.

and so on.
I am running Harbu's RP plugin.
It would be great if somebody could help me out. Thanks.

Last edited by zukku; 10-29-2006 at 14:40.
zukku is offline
Silencer123
Veteran Member
Join Date: Jul 2006
Old 10-29-2006 , 04:38   Re: Servername in HUD
Reply With Quote #2

Looks like you are going for registering a forward and then doing something like this:

Code:
public status_hud_message(message[180]) {     new hostname[64]     get_cvar_string("hostname",hostname,63)     format(message,179,"Server: %s^n%s",hostname,message)     return FMRES_SUPERCEDE // Not sure about the return type }
Note that I do not know TSRP and I am not sure if I understand you correct.
__________________
EAT YOUR VEGGIES
Silencer123 is offline
zukku
Junior Member
Join Date: Nov 2005
Old 10-29-2006 , 07:09   Re: Servername in HUD
Reply With Quote #3

I will try it. Thanks.
zukku is offline
zukku
Junior Member
Join Date: Nov 2005
Old 10-29-2006 , 14:39   Re: Servername in HUD
Reply With Quote #4

It dosent work. It just makes a hud message. What i am looking for is in a permanent HUD.
zukku is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 10-29-2006 , 14:41   Re: Servername in HUD
Reply With Quote #5

There's a cvar, rp_hud_title or something like that.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Drak
Veteran Member
Join Date: Jul 2005
Old 10-29-2006 , 21:54   Re: Servername in HUD
Reply With Quote #6

Quote:
Originally Posted by Hawk552 View Post
There's a cvar, rp_hud_title or something like that.
That's only if your using remos harburp plugins.

Just edit the function "activehud" in the plugin, and add your line.
Drak is offline
Send a message via MSN to Drak
zukku
Junior Member
Join Date: Nov 2005
Old 10-30-2006 , 07:56   Re: Servername in HUD
Reply With Quote #7

Okay, thanks guys : )
zukku is offline
sub
Senior Member
Join Date: Nov 2004
Location: Morristown, New Jersey
Old 11-01-2006 , 20:19   Re: Servername in HUD
Reply With Quote #8

If yo ustill need help pm me your source for your alpha/beta
sub is offline
Send a message via AIM to sub Send a message via MSN to sub
zukku
Junior Member
Join Date: Nov 2005
Old 11-02-2006 , 10:29   Re: Servername in HUD
Reply With Quote #9

Thanks, but i got it to work. But thanks anyway. ;)
zukku 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 04:57.


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