View Single Post
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 05-09-2014 , 07:57   Re: menu_item_getinfo function problem
Reply With Quote #6

Quote:
Originally Posted by Arkshine View Post
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.
so basically it does not affect the client because it's still blocked but if the command is hooked it will still call the function?
gonna give an example of client_cmd(id,"say test") with a custom chat plugin that ditches cs chat and prints all messages to clients with a prefix
aron9forever is offline