AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Hook map end (https://forums.alliedmods.net/showthread.php?t=144447)

zeus 12-04-2010 04:21

Hook map end
 
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

abdul-rehman 12-04-2010 04:35

Re: Hook map end
 
You can try plugin_end forwards

fysiks 12-04-2010 18:13

Re: Hook map end
 
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).

lucas_7_94 12-04-2010 19:35

Re: Hook map end
 
Code:
register_event( "30" , "event_intermission" , "a" );

abdul-rehman 12-05-2010 02:04

Re: Hook map end
 
Quote:

Originally Posted by fysiks (Post 1363280)
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!


All times are GMT -4. The time now is 11:25.

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