Raised This Month: $ Target: $400
 0% 

Changemap


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 03-12-2013 , 08:51   Changemap
Reply With Quote #1

I tried to search but maybe i didnt search with right keywords...
I want to know how i can do an client_print on changing map, something like gungame that when changemap show motd.
__________________
Jhob94 is offline
pokemonmaster
princess milk
Join Date: Nov 2010
Location: Somewhere in this world
Old 03-12-2013 , 13:31   Re: Changemap
Reply With Quote #2

PHP Code:
#include <amxmodx>

public plugin_init()
{
    
//#define SVC_INTERMISSION    30
    
register_event("30""eMapChange""a")
}

public 
eMapChange()
{
    
client_print(0print_chat"The map has ended")

__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه
No longer active in AMXX. Sorry.
pokemonmaster is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 03-12-2013 , 15:13   Re: Changemap
Reply With Quote #3

Is 30 the timelimit?
__________________
Jhob94 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-12-2013 , 15:17   Re: Changemap
Reply With Quote #4

The engine message index.
__________________
Arkshine is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 03-12-2013 , 16:49   Re: Changemap
Reply With Quote #5

Doest it send message even if map is changed by an admin?
__________________
Jhob94 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-12-2013 , 19:49   Re: Changemap
Reply With Quote #6

Quote:
Originally Posted by Jhob94 View Post
Doest it send message even if map is changed by an admin?
You can answer that yourself. (Hint: No.)
__________________
fysiks 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 21:36.


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