Raised This Month: $12 Target: $400
 3% 

[REQ] Need Small Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
shehzad1234
BANNED
Join Date: Jan 2016
Location: https://t.me/pump_upp
Old 11-10-2016 , 09:47   [REQ] Need Small Plugin
Reply With Quote #1

Hi All

i need this plugin all new round i want this message on my screen all new round start i want this message to display.

[hindi]
Jab bhi new round start ho to mujhe yeh message aana chaiye jo Screen Shot me hai.




Sorry for My Bad English

Last edited by shehzad1234; 11-10-2016 at 09:49.
shehzad1234 is offline
Send a message via ICQ to shehzad1234 Send a message via AIM to shehzad1234 Send a message via Yahoo to shehzad1234
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 11-10-2016 , 10:49   Re: [REQ] Need Small Plugin
Reply With Quote #2

this should do

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <colorchat>

#define PLUGIN "DisplayMessage"
#define VERSION "1.0"
#define AUTHOR "NapoleoN#"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_logevent("RoundStart"2"1=Round_Start")
}

public 
RoundStart() {
    
ColorChat(0NORMAL"[PREFIX]^4 GREEN TEXT HERE,^1 NORMAL HERE^3 TEAM COLOR HERE^1 NORMAL HERE AGAIN")

__________________

Last edited by Napoleon_be; 11-10-2016 at 10:49.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
shehzad1234
BANNED
Join Date: Jan 2016
Location: https://t.me/pump_upp
Old 11-10-2016 , 13:10   Re: [REQ] Need Small Plugin
Reply With Quote #3

Quote:
Originally Posted by Napoleon_be View Post
this should do

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <colorchat>

#define PLUGIN "DisplayMessage"
#define VERSION "1.0"
#define AUTHOR "NapoleoN#"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_logevent("RoundStart"2"1=Round_Start")
}

public 
RoundStart() {
    
ColorChat(0NORMAL"[PREFIX]^4 GREEN TEXT HERE,^1 NORMAL HERE^3 TEAM COLOR HERE^1 NORMAL HERE AGAIN")

Thanks !! bro its working thanks yaar

Bro are u using Facebook?? add me click here
shehzad1234 is offline
Send a message via ICQ to shehzad1234 Send a message via AIM to shehzad1234 Send a message via Yahoo to shehzad1234
Amine Belokda
Senior Member
Join Date: Oct 2015
Location: ML_NOT_FOUND
Old 11-11-2016 , 13:49   Re: [REQ] Need Small Plugin
Reply With Quote #4

using this
PHP Code:
#include <amxmodx>
#include <ColorChat>

#define PLUGIN "Round Start Message"
#define VERSION "1.0"
#define AUTHOR "Amine Belokda"

new const g_prefix[] = "[Round-Start]"

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_logevent("NewRound"2"1=Round_Start")
}

public 
NewRound()
{
    
ColorChat(idGREEN,"%s ^1You Message Here"g_prefix)
    
// to add other message copie this // Code: ColorChat(id, GREEN,"%s ^1You Message Here", g_prefix)

__________________
Amine Belokda is offline
Send a message via MSN to Amine Belokda
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-11-2016 , 14:02   Re: [REQ] Need Small Plugin
Reply With Quote #5

That won't work yaar.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
shehzad1234
BANNED
Join Date: Jan 2016
Location: https://t.me/pump_upp
Old 11-11-2016 , 14:19   Re: [REQ] Need Small Plugin
Reply With Quote #6

Quote:
Originally Posted by Amine Belokda View Post
using this
PHP Code:
#include <amxmodx>
#include <ColorChat>

#define PLUGIN "Round Start Message"
#define VERSION "1.0"
#define AUTHOR "Amine Belokda"

new const g_prefix[] = "[Round-Start]"

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_logevent("NewRound"2"1=Round_Start")
}

public 
NewRound()
{
    
ColorChat(idGREEN,"%s ^1You Message Here"g_prefix)
    
// to add other message copie this // Code: ColorChat(id, GREEN,"%s ^1You Message Here", g_prefix)

Thnx yaar..
shehzad1234 is offline
Send a message via ICQ to shehzad1234 Send a message via AIM to shehzad1234 Send a message via Yahoo to shehzad1234
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-11-2016 , 17:07   Re: [REQ] Need Small Plugin
Reply With Quote #7

That won't even compile yaar.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
tousif
AlliedModders Donor
Join Date: Nov 2014
Location: India
Old 11-11-2016 , 23:43   Re: [REQ] Need Small Plugin
Reply With Quote #8

Quote:
Originally Posted by OciXCrom View Post
That won't even compile yaar.
yes yaaar :p

PHP Code:
 ColorChat(idGREEN,"%s ^1You Message Here"g_prefix
->
PHP Code:
 ColorChat(0GREEN,"%s ^1You Message Here"g_prefix
tousif is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 11-13-2016 , 08:22   Re: [REQ] Need Small Plugin
Reply With Quote #9

rofl why even bother posting the exact same code just with an array holding the prefix...

I can get much more advanced in prefixes if you want to though
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Reply


Thread Tools
Display Modes

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 01:16.


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