Raised This Month: $ Target: $400
 0% 

Event


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
s0upnazi
Member
Join Date: Mar 2006
Old 07-04-2006 , 21:17   Event
Reply With Quote #1

Is there a specific event like deathmsg that is used whenever the map changes? I need my plugin to do a function each time the map changes, can anyone help me out here?
s0upnazi is offline
atambo
Senior Member
Join Date: Oct 2004
Location: Pittsburgh, PA
Old 07-04-2006 , 21:33   Re: Event
Reply With Quote #2

plugin_end:
http://www.amxmodx.org/funcwiki.php?go=func&id=5
__________________
atambo is offline
Send a message via AIM to atambo Send a message via MSN to atambo Send a message via Yahoo to atambo
Zenith77
Veteran Member
Join Date: Aug 2005
Old 07-05-2006 , 11:41   Re: Event
Reply With Quote #3

Even better...

Code:
public server_changelevel(map[]) {       // Other code here }
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 07-06-2006 , 15:43   Re: Event
Reply With Quote #4

No, this isn't called every mapchange but only on map "transitions". plugin_end should be used.
VEN is offline
Reply



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


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