I hope someone can help me making a slight change to this plugin.
I want to replace:
PHP Code:
TF2_StunPlayer(other, 6.0, _, TF_STUNFLAGS_LOSERSTATE);
with something like:
PHP Code:
ServerCommand("sm_my_command <clientid> <param>")
I know that for some reason people dont like using ServerCommand but I want to use it to call a function of another plugin for the sake of making my life easier.
Now my little problem is that I need <clientid> to be the clientid of the player who touched the gift, can anybody tell me how to do it ?
Thanks
__________________