Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <amxmodx>
- #include <amxmisc>
- new const Commands[][] = {
- "/help",
- "fuck",
- "Aima sha alay",
- "Savta",
- "Doda"
- }
- public plugin_init() {
- register_plugin("Block Chat Commands","1.6", "flane")
- register_clcmd("say","SayCmd")
- }
- public SayCmd(client)
- {
- new Message[192]
- read_args(Message,191)
- remove_quotes(Message)
- for(new i;i < sizeof Commands;i++){
- if(equali(Message,Commands[i]))
- return 1;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement