AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [help]How to do something after map changed? (https://forums.alliedmods.net/showthread.php?t=9288)

larnk 01-13-2005 01:00

[help]How to do something after map changed?
 
I want some code are executed after a map is changed, even if there is not any players in the server( for initializing something)

Originally,I think I could put the code in plugin_init, but I need read some cvars value defined in amxx.cfg, when plugin_init is executed, server.cfg is not loaded.

How can I do? executing some code after server.cfg is executed....

Thanks...

FeuerSturm 01-13-2005 09:21

try to use plugin_cfg :wink:

larnk 01-13-2005 21:34

Thank you, Firestorm.
I tried using set_task(2.0....), it works prefect.


All times are GMT -4. The time now is 19:21.

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