Thread
:
cs 1.6 flag selection
View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
09-15-2022 , 00:20 Re: cs 1.6 flag selection
#
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
(
id
,
ADMIN_LEVEL_A
) )
{
return
PLUGIN_HANDLED
;
}
You'll need to include amxmisc.inc.
__________________
Polymorph
,
GitHub
Last edited by fysiks; 09-21-2022 at
00:48
. Reason: Added semicolon due to the code requiring it via pragma
fysiks
View Public Profile
Send a private message to fysiks
Find More Posts by fysiks