View Single Post
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-24-2020 , 07:27   Re: Command Restrictions
Reply With Quote #23

Quote:
Originally Posted by oldies View Post
when i try to compile it with compile.exe, i receive an error;

The compiler's "include" directory, not the plugin's...

Quote:
Originally Posted by oldies View Post
it did not worked, i know i did something wrong but what?
here is the allowed command
Code:
[amx_votemapmenu]
allow all
block "dead"
i put CommandRestriction.ini into amxmodx/config
and added crx_command_restrictions.amxx into plugins.ini
then i put crx_command_restrictions.amxx into amxmodx/plugins

and i tested with the user i never used in the server (made up some name), in the console i write amx_votemapmenu it says "You have no access to that command".
what did i wrong?
Did you give yourself access to the command via users.ini?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom