Raised This Month: $ Target: $400
 0% 

Stop Say cs 1.6


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
barvi
New Member
Join Date: May 2020
Old 05-27-2020 , 15:06   Stop Say cs 1.6
Reply With Quote #1

hi i searched a lot and i want a simple plugin for like when i say !sayno or !sayyes to stop say in server
the command is amx_cvar sc_say 0-1 it deppends but i want to make this plugin for admin_ban access
is that possible or no.
barvi is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-27-2020 , 15:48   Re: Stop Say cs 1.6
Reply With Quote #2

cvar sc_say

Code:
#include <amxmodx> new g_pSay public plugin_init() {     register_plugin("Say Toggle", "1.0", "OciXCrom")     register_clcmd("say", "OnSay")     register_clcmd("say_team", "OnSay")     g_pSay = register_cvar("sc_say", "1") } public OnSay(id) {     return get_pcvar_num(g_pSay) ? PLUGIN_CONTINUE : PLUGIN_HANDLED }
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 17:14.


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