Raised This Month: $12 Target: $400
 3% 

hl1 map end


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
vamppa
Senior Member
Join Date: Apr 2010
Location: The Netherlands
Old 01-14-2014 , 23:32   hl1 map end
Reply With Quote #1

Hello

Id like to show a hud message to client during the Intermission, when the scoreboard is shown before map end.
How would that be done?

greetz
vamppa is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-15-2014 , 00:36   Re: hl1 map end
Reply With Quote #2

Have you tried searching? I found this in less than 30 seconds by simply searching for "intermission" in the Scripting Help forum.

Code:
register_event("30", "function_here", "a")
__________________
fysiks is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 01-15-2014 , 04:11   Re: hl1 map end
Reply With Quote #3

You can't display a hud message during Intermission. You would need to send SVC_FINALE on your Intermission hook before you display it.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
vamppa
Senior Member
Join Date: Apr 2010
Location: The Netherlands
Old 01-15-2014 , 09:00   Re: hl1 map end
Reply With Quote #4

yeah ive tried searching before posting.
came across this

PHP Code:
register_event("30""EV_InterMission""a" ); 
which ive tried to test with
PHP Code:
client_print(0,print_chat,"Map end"
It didn't work.
Is the event called 30 in cs1.6 ?
I wonder if it is called the same or different in hl1.
Quote:
Originally Posted by hornet
You would need to send SVC_FINALE on your Intermission hook before you display it.
How would this be done?

Ok think I got that part sorted, however now the scoreboard itself doesn't show up brb.
Sorted that as well, however now when the scoreboard shows up if you press fire the windows mouse cursor will appear and it will take a while waiting to change map.

Last edited by vamppa; 01-15-2014 at 10:19.
vamppa is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 01-15-2014 , 16:24   Re: hl1 map end
Reply With Quote #5

Yes the events are the same. Keep in mind that Intermission is only sent when the maps time limit runs out or reaches its total round count - not when the map is changed by an admin.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-16-2014 , 00:40   Re: hl1 map end
Reply With Quote #6

engclient_print with print_center should work at intermission.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 20:23.


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