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

Console Command Blocker


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dendodo1235
Member
Join Date: Feb 2015
Old 03-19-2015 , 15:43   Console Command Blocker
Reply With Quote #1

i need a plugin that blocks commands in configs/myfile.ini file for normal users. But admins would use these commands.
dendodo1235 is offline
dendodo1235
Member
Join Date: Feb 2015
Old 03-19-2015 , 15:46   Re: Console Command Blocker
Reply With Quote #2

commands_blocker.smaI have found a source file doing this but it gives compile error:

Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2013 ITB CompuPhase, AMX Mod X Team

//cstrike/addons/amxmodx/scripting/commands_blocker.sma(33) : error 017: undefined symbol "get_cvarptr_num"
//cstrike/addons/amxmodx/scripting/commands_blocker.sma(87) : warning 204: symbol is assigned a value that is never used: "g_cvarCmdsBlockerAllowAdmins"
dendodo1235 is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 03-19-2015 , 16:23   Re: Console Command Blocker
Reply With Quote #3

I fixed the compilation errors, but didn't really look at how the code works.

Test it out and see, if it works.
Attached Files
File Type: sma Get Plugin or Get Source (commands_blocker.sma - 642 views - 1.9 KB)
Spirit_12 is offline
dendodo1235
Member
Join Date: Feb 2015
Old 03-19-2015 , 17:01   Re: Console Command Blocker
Reply With Quote #4

I have just tested. Plugin doesnt work
dendodo1235 is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 03-19-2015 , 17:05   Re: Console Command Blocker
Reply With Quote #5

What specific commands are you trying to block ?
Spirit_12 is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 03-19-2015 , 17:52   Re: Console Command Blocker
Reply With Quote #6

Idk if this will help you: Custom Command Block v1.2
__________________
ANTICHRISTUS is offline
dendodo1235
Member
Join Date: Feb 2015
Old 03-19-2015 , 18:40   Re: Console Command Blocker
Reply With Quote #7

Quote:
Originally Posted by ANTICHRISTUS View Post
Idk if this will help you: Custom Command Block v1.2
Nah its not the plugin im looking for. Thank you for your reply
dendodo1235 is offline
indraraj striker
Veteran Member
Join Date: Mar 2014
Location: Under the water
Old 03-20-2015 , 10:33   Re: Console Command Blocker
Reply With Quote #8

which command you want to block ? explain little bit zzz
__________________
Thanks everyone. #miss_you_all
indraraj striker is offline
dendodo1235
Member
Join Date: Feb 2015
Old 03-22-2015 , 02:55   Re: Console Command Blocker
Reply With Quote #9

clcmds ? for example both can reach "amx_help" but it would only allows admins to reach that clcmd
dendodo1235 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-22-2015 , 02:59   Re: Console Command Blocker
Reply With Quote #10

You have to state exactly what commands you want blocked. If you don't tell us EVERY command that you want blocked in some way, we can't help you.
__________________
fysiks is offline
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 07:40.


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