Raised This Month: $32 Target: $400
 8% 

help with a plugin name


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
King Dark
Senior Member
Join Date: Jun 2011
Location: Egypt
Old 04-07-2012 , 17:41   help with a plugin name
Reply With Quote #1

hi all :

well i used to see some servers have a plugin that it job when you write

Quote:
/forum : show forum adress
/ip : show server IP
can you help me with giving me the name of it

or the plugin it self

and thanks to all for help
__________________
King Dark is offline
bazhenov93
Veteran Member
Join Date: Oct 2010
Old 04-07-2012 , 18:22   Re: help with a plugin name
Reply With Quote #2

You can use Autoresponder/Advertiser
bazhenov93 is offline
kramesa
Veteran Member
Join Date: Feb 2011
Location: Brazil
Old 04-07-2012 , 18:34   Re: help with a plugin name
Reply With Quote #3

Untested:

Code:
#include <amxmodx> #include <amxmisc> public plugin_init() {      register_clcmd("say /forum", "cmdForum");      register_clcmd("say /ip", "cmdIP"); } public cmdForum(id) {      client_print(id, print_chat, "www.Forum.com"); } public cmdIP(id) {      new szServerIP[32];      get_user_ip(0, szServerIP, 1);          client_print(id, print_chat, "IP Address: %s", szServerIP); }
__________________
kramesa is offline
King Dark
Senior Member
Join Date: Jun 2011
Location: Egypt
Old 04-07-2012 , 18:47   Re: help with a plugin name
Reply With Quote #4

Quote:
Originally Posted by bazhenov93 View Post
ty for your help i will test it and tell you how it is
__________________
King Dark is offline
King Dark
Senior Member
Join Date: Jun 2011
Location: Egypt
Old 04-07-2012 , 18:56   Re: help with a plugin name
Reply With Quote #5

Quote:
Originally Posted by kramesa View Post
Untested:

Code:
#include <amxmodx> #include <amxmisc> public plugin_init() { register_clcmd("say /forum", "cmdForum"); register_clcmd("say /ip", "cmdIP"); } public cmdForum(id) { client_print(id, print_chat, "www.Forum.com"); } public cmdIP(id) { new szServerIP[32]; get_user_ip(0, szServerIP, 1); client_print(id, print_chat, "IP Address: %s", szServerIP); }
thanks for your work

i will test how it work and tell you after it

but can you add colors for your coding like green and red and blue and white i will be so happy
__________________
King Dark is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 04-07-2012 , 19:08   Re: help with a plugin name
Reply With Quote #6

Quote:
Originally Posted by King Dark View Post
thanks for your work

i will test how it work and tell you after it

but can you add colors for your coding like green and red and blue and white i will be so happy
PHP Code:
#include <amxmodx> 
#include <amxmisc>
#include <colorchat>

public plugin_init() {      
    
register_clcmd("say /forum""cmdForum");      
    
register_clcmd("say /ip""cmdIP"); 


public 
cmdForum(id) {      
    
    
ColorChat(idGREEN"www.forum.com");


public 
cmdIP(id) {      
    new 
szServerIP[32];      
    
get_user_ip(0szServerIP1);          
    
ColorChat(idGREEN"IP Address: %s"szServerIP)

__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
King Dark
Senior Member
Join Date: Jun 2011
Location: Egypt
Old 04-07-2012 , 19:11   Re: help with a plugin name
Reply With Quote #7

Quote:
Originally Posted by Napoleon_be View Post
PHP Code:
#include <amxmodx> 
#include <amxmisc>
#include <colorchat>

public plugin_init() {      
    
register_clcmd("say /forum""cmdForum");      
    
register_clcmd("say /ip""cmdIP"); 


public 
cmdForum(id) {      
    
    
ColorChat(idGREEN"www.forum.com");


public 
cmdIP(id) {      
    new 
szServerIP[32];      
    
get_user_ip(0szServerIP1);          
    
ColorChat(idGREEN"IP Address: %s"szServerIP)

ty i try it
__________________

Last edited by King Dark; 04-07-2012 at 19:20.
King Dark is offline
King Dark
Senior Member
Join Date: Jun 2011
Location: Egypt
Old 04-07-2012 , 19:21   Re: help with a plugin name
Reply With Quote #8

Napoleon_be not working

Quote:
Error: Cannot read from file: "colorchat" on line 3
__________________
King Dark is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 04-07-2012 , 19:25   Re: help with a plugin name
Reply With Quote #9

Quote:
Originally Posted by King Dark View Post
Napoleon_be not working
Make sure you have the include called "colorchat.inc"
Attached Files
File Type: inc colorchat.inc (2.8 KB, 42 views)
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
King Dark
Senior Member
Join Date: Jun 2011
Location: Egypt
Old 04-07-2012 , 19:35   Re: help with a plugin name
Reply With Quote #10

ty Napoleon_be 100% work now
__________________
King Dark is offline
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 21:58.


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