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

new plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
spike1554746
Junior Member
Join Date: Mar 2012
Old 05-19-2012 , 09:48   new plugin
Reply With Quote #1

i am trying a new plugin like admin_check but for silver players and golden players but there are problem in them if some plz help and fix it and tell me what i did wrong
PHP Code:
#include <amxmodx>
#define configsDir
#if defined USING_SQL
#include <sqlx>
#endif


#if defined USING_SQL
    
server_cmd("amx_sqladmins")
#else
        
new configsDir[64]
    
get_configsdir(configsDir63)
    
format(configsDir63"%s/silver.ini"configsDir
    loadSettings
(configsDir)                    // Load silver accounts
#endif

public plugin_init() {
    
register_plugin("silver Check""1.50""prestige")
    
register_clcmd("say /silver""cmd_silvercheck")
}

public 
handle_say(id) {
    new 
said[192]
    
read_args(said,192)
    if( ( 
containi(said"who") != -&& containi(said"silver") != -) || contain(said"/silver") != -)
        
set_task(0.1,"print_silverlist",id)
    return 
PLUGIN_CONTINUE


Last edited by spike1554746; 05-19-2012 at 09:51.
spike1554746 is offline
Old 05-19-2012, 11:50
spike1554746
This message has been deleted by Exolent[jNr]. Reason: Don't bump until 2 weeks have passed since last post.
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 02:33.


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