Raised This Month: $ Target: $400
 0% 

need few plugins


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
allieduser
Member
Join Date: Jul 2011
Old 04-24-2013 , 09:53   need few plugins
Reply With Quote #1

need plugin, when some player join to server, server write welcome message for a player
and second plugin, every new map in first round write my message for all players
allieduser is offline
Unkolix
Veteran Member
Join Date: Sep 2012
Old 04-24-2013 , 10:07   Re: need few plugins
Reply With Quote #2

1. Search for Welcome Message.
2. Edit 8th line, the text in quotes by your needs.
PHP Code:
#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Map Start Message"
#define VERSION "1.0"
#define AUTHOR "Unkolix"

new const MESSAGE[] = "Your message here"
new iRound;

public 
plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_event("HLTV""event_new_round""a""1=0""2=0")
    
register_logevent("LogEvent_GameCommencing"2"0=World triggered""1=Game_Commencing")
    
register_event("TextMsg","Event_RoundRestart","a","2&#Game_w")
}

public 
event_new_round() {
    
iRound++;
    if(
iRound == 1) {
        
client_print(0print_chatMESSAGE)
    }
}

public 
LogEvent_GameCommencing() {
    
iRound 0;
}

public 
Event_RoundRestart() {
    
iRound 0;

Unkolix is offline
allieduser
Member
Join Date: Jul 2011
Old 04-24-2013 , 10:18   Re: need few plugins
Reply With Quote #3

thanks man! and good luck for you maybe message can bee colored? example green?

Last edited by allieduser; 04-24-2013 at 10:21.
allieduser 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 20:01.


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