PHP Code:
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHookChain(RG_CBasePlayer_Killed, "OnPlayer_Killed_Post", true)
RegisterHookChain(RG_CBasePlayerWeapon_DefaultDeploy, "OnPlayerChangeWeapon_Pre", false)
register_clcmd("say /fakas", "clcmdMenuSkin")
register_clcmd("say /money", "clcmdMenuGiveMoney")
register_clcmd("ESCRIBE_LA_CANTIDAD", "GiveMoneyPlayer")
PHP Code:
AMX Mod X Compiler 1.10.0.5467
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2013 AMX Mod X Team
Error: Undefined symbol "RG_CBasePlayerWeapon_DefaultDeploy" on line 60
Warning: Expression has no effect on line 60
Warning: Expression has no effect on line 60
Error: Expected token: ";", but found ")" on line 60
Error: Invalid expression, assumed zero on line 60
Error: Too many error messages on one line on line 60
Compilation aborted.
4 Errors.
Could not locate output file C:\Users\I-MAG\Desktop\TiendaDeCuchillo.amx (compile failed).