|
Стаж: 8 лет 4 месяца
Сообщений: 1
Благодарностей: 1
Полезность: 0
|
Вроде бы так, но почему то не работает: {code]#include <amxmodx> #include <orpheu> #include <orpheu_stocks>
#define PLUGIN "ClientCommand" #define VERSION "0.1" #define AUTHOR "author"
new g_pGameRules public OnInstallGameRules() g_pGameRules = OrpheuGetReturn()
public plugin_init(){ OrpheuRegisterHook(OrpheuGetFunction("InstallGameRules"), "OnInstallGameRules", OrpheuHookPost) OrpheuRegisterHookFromObject(g_pGameRules, "ClientCommand", "CGameRules", "ClientCommand") }
public ClientCommand(arg,id){ server_print("%s | %d id: %d",arg,arg,id); }[/code]
|