Raised This Month: $ Target: $400
 0% 

Catch a map changing


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
_Serj
New Member
Join Date: Mar 2005
Old 03-14-2005 , 07:23   Catch a map changing
Reply With Quote #1

Hi!
Can somebody help me?

I want to handle a map changing event. I code next:
Code:
public plugin_init() {     ...     register_logevent("started_map", 3, "0=Started map")     ... } public started_map() {     server_print("Map started...")     ...     return PLUGIN_CONTINUE  }
But nothing happens.

If I catch the round start event:
Code:
register_logevent("round_start", 2, "1=Round_Start") ... public round_start() {     server_print("Round started...")     ...     return PLUGIN_CONTINUE  }
All is work!

Where is my mistake?
_Serj is offline
 



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 14:05.


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