Raised This Month: $ Target: $400
 0% 

Hook map end


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zeus
Senior Member
Join Date: Jul 2008
Old 12-04-2010 , 04:21   Hook map end
Reply With Quote #1

How can I hook the mapend?
I mean the time when the timelimit becomes 0 and scoretable is displayed for "mp_chattime" seconds then the server changes level
zeus is offline
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 12-04-2010 , 04:35   Re: Hook map end
Reply With Quote #2

You can try plugin_end forwards
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-04-2010 , 18:13   Re: Hook map end
Reply With Quote #3

plugin_end() is after the chat time, iirc. Not entirely sure but you may be able to hook svc_intermission (somebody would need to confirm).
__________________
fysiks is offline
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 12-05-2010 , 02:04   Re: Hook map end
Reply With Quote #4

Quote:
Originally Posted by fysiks View Post
plugin_end() is after the chat time, iirc. Not entirely sure but you may be able to hook svc_intermission (somebody would need to confirm).
So its nearly called at plugin end!
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 12-04-2010 , 19:35   Re: Hook map end
Reply With Quote #5

Code:
register_event( "30" , "event_intermission" , "a" );
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
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 11:25.


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