View Single Post
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-08-2014 , 12:48   Re: menu_item_getinfo function problem
Reply With Quote #5

CSDM and official plugins are old. They would need to be cleaned up a bit. Using client_cmd is not a proper way to call internal functions. Call them directly as suggested fysiks. If you want to simulate a player entering the command in the console, then you might take a look to the new natives in 1.8.3, amxclient_cmd(), which is basically like engclient_cmd(), but notify plugins which hook the command.
__________________
Arkshine is offline