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

add access flags


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
itoxicreal
Senior Member
Join Date: Jun 2018
Old 06-01-2020 , 01:18   add access flags
Reply With Quote #1

Hey does anyone know how to add flags for a plugin ,Basically someone needs a certin flag to use this command.

Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>

new const PLUGIN[] = "Reset Death"
new const VERSION[] = "0.1"
new const AUTHOR[] = "Mr Miss"


public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /rs","cmd_rs");

}
public cmd_rs(id)
{
cs_set_user_deaths(id,0);
client_print_color(id,id,"^4|^3| ^4Reset Score ^3|^4| ^4YOUR DEATHS ^1HAVE BEEN SET TO ^4[0]");
return PLUGIN_HANDLED;
}
itoxicreal 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 06:10.


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