AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Changemap (https://forums.alliedmods.net/showthread.php?t=210578)

Jhob94 03-12-2013 08:51

Changemap
 
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.

pokemonmaster 03-12-2013 13:31

Re: Changemap
 
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")



Jhob94 03-12-2013 15:13

Re: Changemap
 
Is 30 the timelimit?

Arkshine 03-12-2013 15:17

Re: Changemap
 
The engine message index.

Jhob94 03-12-2013 16:49

Re: Changemap
 
Doest it send message even if map is changed by an admin?

fysiks 03-12-2013 19:49

Re: Changemap
 
Quote:

Originally Posted by Jhob94 (Post 1911510)
Doest it send message even if map is changed by an admin?

You can answer that yourself. (Hint: No.)


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

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