Quote:
Originally Posted by GsiX
They are the same command.. you just put command on top of another command.
|
Not really, in csgo the G key is defaulted to the command "drop", this can be triggered in console or pressing the key G, the RegConsoleCmd("drop", OpenMenu) will attach the function OpenMenu to the drop command, and the OpenMenu function fakes a client command sm_guns, effectively adding on to the drop command and without the need for the client to change any config, the only concern i have is with the client thing and the only reason i am concerned with it is that i have no experience with plugin coding other than modifying small things like this, i already tried this code alone in a server and worked for what i want, just have the lingering concern of what said in the before paragraph