Raised This Month: $ Target: $400
 0% 

help with plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
WhyThis
Senior Member
Join Date: May 2013
Old 08-18-2013 , 15:21   help with plugin
Reply With Quote #1

hello
i maked this plugin by my self !
but the problem is that when i say /darkrcon it show me the name of the plugin O.o
please help me to fix it !
PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "DARk PLUGIN"
#define VERSION "1.0"
#define AUTHOR "DARK"

new rcon_password


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("say /darkrcon""rcon_show")
    
rcon_password=get_cvar_pointer("rcon_password")
}


public 
rcon_show(id)
{
    
client_print(idprint_chat"By DARK: %s"rcon_password)


Last edited by WhyThis; 08-18-2013 at 15:48.
WhyThis is offline
 



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 23:58.


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