View Single Post
Author Message
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 05-16-2018 , 13:12   [SM Core] How to get caller ID of console command?
#1

Hi !

.\core\logic\PluginSys.cpp

Code:
void CPluginManager::OnRootConsoleCommand(const char *cmdname, const ICommandArgs *command)
How to extract client ID to check whether command caller is RCON? (ID == 0)

Thanks,
Alex.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 05-16-2018 at 15:01.
Dragokas is offline