How to detect map change?
Is there an event that I can hook to detect when a map change is about to happen?
Thanks, Mugwump |
Re: How to detect map change?
|
Re: How to detect map change?
lol ?! I can predict...wow, you can't! You can hook amx_map command for a instant change map, or set a task with 1~2 sec before mapchange by timeleft:
Code:
set_task(2.0, "my_task", MY_TASK_ID, "", 0, "d") |
Re: How to detect map change?
Code:
|
Re: How to detect map change?
Also, isn't there a message, SVC_Intermission or something, that hooks when the scores are displayed before map change?
|
Re: How to detect map change?
Yeah, it's the event i gave.
|
| All times are GMT -4. The time now is 16:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.