View Single Post
Swolly
Senior Member
Join Date: Jul 2018
Location: Turkey
Old 03-13-2023 , 10:30   Re: [CS:GO] False Map Blocker
Reply With Quote #3

Quote:
Originally Posted by Bacardi View Post
...source code use file, what not exist
PHP Code:
#include <plugincim.com> 
...plugin listen sm_map command, but have own admin check.
PHP Code:
...

if(
GetUserFlagBits(client) & ADMFLAG_ROOT || GetUserFlagBits(client) & ADMFLAG_GENERIC || GetUserFlagBits(client) & ADMFLAG_CHANGEMAP)    

... 

SourceMod basecommands sm_map use FindMap.
But this plugin read maps from directory "maps".


meh.
Fixed flag and include file.
__________________
Swolly is offline