Raised This Month: $ Target: $400
 0% 

Help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 09-12-2012 , 15:05   Help
Reply With Quote #1

I need to set the C flag on this plugin
Code:
#include <amxmodx>  
#include <amxmisc>  
#include <colorchat>  
public plugin_init() {  
    register_plugin("VIP_say", "1.0", "BS")  
    register_clcmd("say", "sayee")  
}  
public sayee(id){ 
    if(get_user_flags(id) & ADMIN_LEVEL_H) 
    { 
        new said[192], name[30] 
        get_user_name(id,name,29) 
        read_args(said,191) 
        remove_quotes(said) 
        ColorChat(0, GREEN,"[VIP] ^3%s ^1: %s",name,said) 
        return PLUGIN_HANDLED 
    } 
}

Last edited by ironskillz1; 12-16-2012 at 14:21.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 09-12-2012 , 15:11   Re: Help
Reply With Quote #2

Change "ADMIN_LEVEL_H" to "ADMIN_KICK"
http://www.amxmodx.org/funcwiki.php?go=module&id=1
__________________
H.RED.ZONE is offline
Old 03-06-2014, 07:49
Chikizo
This message has been deleted by hornet. Reason: Spam
Old 03-06-2014, 11:04
ironskillz1
This message has been deleted by hornet. Reason: Reply to deleted 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 08:20.


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