AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Help (https://forums.alliedmods.net/showthread.php?t=195884)

ironskillz1 09-12-2012 15:05

Help
 
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
    }
}


H.RED.ZONE 09-12-2012 15:11

Re: Help
 
Change "ADMIN_LEVEL_H" to "ADMIN_KICK"
http://www.amxmodx.org/funcwiki.php?go=module&id=1


All times are GMT -4. The time now is 08:20.

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