Raised This Month: $ Target: $400
 0% 

[help]How to do something after map changed?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
larnk
Member
Join Date: Dec 2004
Old 01-13-2005 , 01:00   [help]How to do something after map changed?
Reply With Quote #1

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...
larnk is offline
FeuerSturm
AlliedModders Donor
Join Date: Apr 2004
Old 01-13-2005 , 09:21  
Reply With Quote #2

try to use plugin_cfg
FeuerSturm is offline
larnk
Member
Join Date: Dec 2004
Old 01-13-2005 , 21:34  
Reply With Quote #3

Thank you, Firestorm.
I tried using set_task(2.0....), it works prefect.
larnk is offline
Reply


Thread Tools
Display Modes

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 19:21.


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