Скриптер
Проверенный
Пользователь
- Сообщения
- 3,583
- Реакции
- 1,572
- Помог
- 138 раз(а)
ты указал название функции такое же, как и у самого хука.блин
Не работает так же:
Код:RegisterHookChain(RG_CBasePlayer_UseEmpty, "CBasePlayer_UseEmpty", 0);
//AMXXPC compile.exe
// by the AMX Mod X Dev Team
//// class_alchemist_VIP.sma
//
// T:\cs16 SERVER\Compiler amxx BUILD 5263\include\reapi_gamedll_const.inc(763) : error 021: symbol already defined: "RG_CBasePlayer_UseEmpty"
// T:\cs16 SERVER\Compiler amxx BUILD 5263\class_alchemist_VIP.sma(40) : error 029: invalid expression, assumed zero
// T:\cs16 SERVER\Compiler amxx BUILD 5263\class_alchemist_VIP.sma(40) : warning 215: expression has no effect
// T:\cs16 SERVER\Compiler amxx BUILD 5263\class_alchemist_VIP.sma(40) : warning 215: expression has no effect
// T:\cs16 SERVER\Compiler amxx BUILD 5263\class_alchemist_VIP.sma(40) : error 001: expected token: ";", but found ")"
// T:\cs16 SERVER\Compiler amxx BUILD 5263\class_alchemist_VIP.sma(40) : error 029: invalid expression, assumed zero
// T:\cs16 SERVER\Compiler amxx BUILD 5263\class_alchemist_VIP.sma(40) : fatal error 107: too many error messages on one line
//
// Compilation aborted.
// 5 Errors.
// Could not locate output file T:\cs16 SERVER\Compiler amxx BUILD 5263\compiled\class_alchemist_VIP.amx (compile failed).
//
// Compilation Time: 0,37 sec
// ----------------------------------------
Press enter to exit ...