19/04/2018, 07:57 PM
Hola tengo un problema que no puedo solucionar xd
en cual es esto
en cual es esto
Código PHP:
#include <amxmodx>
#include <fakemeta>
#include <zombieplague>
#include <hamsandwich>
#include <fun>
/*===============================================================================?=
[Plugin Customization]
================================================================================?=*/
// Rebel Human Attributes
new const hclass12_name[] = { "Buzo Tactico" }
new const hclass12_info[] = { "+ experto con armas blancas" }
new const hclass12_model[] = { "zpdm_buztactico" }
const hclass12_level = 200
const hclass12_health = 600
const hclass12_speed = 250
const Float:hclass12_gravity = 0.64
new buztac
/*============================================================================*/
// Human Classes MUST be registered on plugin_precache
public plugin_precache()
{
register_plugin("humano", "1.0", "pruebahm")
RegisterHam( Ham_TakeDamage, "player", "Damage" )
// Register all classes
ninja = zp_register_human_class(hclass12_name, hclass12_info, hclass12_model, hclass12_level, hclass12_health, hclass12_speed, hclass12_gravity)
}
public Damage(Victim, Inflictor, Attacker, Float:Damage, DamageBits )
{
if (!is_user_alive(Attacker) || zp_get_user_zombie(Attacker) || zp_get_user_survivor(Attacker) || zp_get_user_nemesis(Attacker)
(is_user_alive(Attacker) && get_user_weapon(Attacker) == CSW_KNIFE)
if (zp_get_user_human_class(Attacker) == buztac)
SetHamParamFloat ( 4, Damage * 2.0 ) //aqui en 4. Damage * [2.0] <--- es el Multiple de damage en 2.0 es el doble
}
Código:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2013 ITB CompuPhase, AMX Mod X Team
Error: Expected token: ")", but found "(" on line 37
1 Error.
Could not locate output file C:\Users\gg\Desktop\humano tac.amx (compile failed).