View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-15-2022 , 00:20   Re: cs 1.6 flag selection
Reply With Quote #2

Add a check for access at the beginning of each of the functions to which you want to restrict access:

PHP Code:
    if( !access(idADMIN_LEVEL_A) )
    {
        return 
PLUGIN_HANDLED;
    } 
You'll need to include amxmisc.inc.
__________________

Last edited by fysiks; 09-21-2022 at 00:48. Reason: Added semicolon due to the code requiring it via pragma
fysiks is offline