Raised This Month: $ Target: $400
 0% 

Hud msg on sv_restart 5?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
malec321
Senior Member
Join Date: May 2009
Location: Los Angeles
Old 03-27-2011 , 03:44   Hud msg on sv_restart 5?
Reply With Quote #1

I dont know if this is possible, but after server executes "sv_restart 5" is their a way to pop up a HUD MSG for like 10 seconds after the sv_restart 5 is executed.. So I execute lo3.cfg

sv_restart 3
sv_restart 3
sv_restart 5
HUD MSG
__________________
Ayyylmao
malec321 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-27-2011 , 04:51   Re: Hud msg on sv_restart 5?
Reply With Quote #2

After the line put amx_csay command.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
malec321
Senior Member
Join Date: May 2009
Location: Los Angeles
Old 03-27-2011 , 13:37   Re: Hud msg on sv_restart 5?
Reply With Quote #3

Oh ... wow that was simple lmaoo thanks
__________________
Ayyylmao
malec321 is offline
malec321
Senior Member
Join Date: May 2009
Location: Los Angeles
Old 03-27-2011 , 13:41   Re: Hud msg on sv_restart 5?
Reply With Quote #4

public endoh()
{
continue_gen_forward(forward_id)
}

What would I put for it to be a BLUE hudmsg for like 5-10 seconds
__________________
Ayyylmao

Last edited by malec321; 03-27-2011 at 13:51.
malec321 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-27-2011 , 21:23   Re: Hud msg on sv_restart 5?
Reply With Quote #5

http://www.amxmodx.org/funcwiki.php?...sage&go=search
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
malec321
Senior Member
Join Date: May 2009
Location: Los Angeles
Old 03-27-2011 , 21:29   Re: Hud msg on sv_restart 5?
Reply With Quote #6

set_hudmessage ( red=0, green=0, blue=200, Float=-1.0, Float:y=0.35, effects=0, Float:fxtime=5.0, Float:holdtime=10.0, Float:fadeintime=0.1, Float:fadeouttime=0.2, channel=4 )

that would be a blue hud that takes 5 seconds to pop up and stays for 10 seconds?
__________________
Ayyylmao
malec321 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-27-2011 , 21:30   Re: Hud msg on sv_restart 5?
Reply With Quote #7

Don't put in the parameter names.
They are only there to show you what they are.

set_hudmessage(0, 0, 200, -1.0, 0.35, 0, 5.0, 10.0, 0.1, 0.2, 4)

That should be used instead of what you did.

Also, no, you used the time argument wrong.
fxtime is the time for the effects, holdtime is the time it is displayed.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
malec321
Senior Member
Join Date: May 2009
Location: Los Angeles
Old 03-27-2011 , 21:34   Re: Hud msg on sv_restart 5?
Reply With Quote #8

Code:
set_hudmessage(0, 0, 200, -1.0, 0.35, 0, 5.0, 10.0, 0.1, 0.2, 4)
show_hudmessage("BLAHBLAH")
this is correct? Thanks alot exo
__________________
Ayyylmao
malec321 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-27-2011 , 21:35   Re: Hud msg on sv_restart 5?
Reply With Quote #9

Quote:
Originally Posted by Exolent[jNr] View Post
Also, no, you used the time argument wrong.
fxtime is the time for the effects, holdtime is the time it is displayed.
That meant you put the holdtime for 10.0, which is not 5 seconds.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
malec321
Senior Member
Join Date: May 2009
Location: Los Angeles
Old 03-27-2011 , 21:40   Re: Hud msg on sv_restart 5?
Reply With Quote #10

show_hudmessage(0, "BLAH")

that is to show the hud to everyone right?
__________________
Ayyylmao
malec321 is offline
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 14:36.


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