dodalem to do public TakeDamage
i nie compiluje sie
pisze
Welcome to the
AMX Mod X 1.8.1-300 Compiler.
Copyright © 1997-2006 ITB CompuPhase,
AMX Mod X Team
QTM_CodMod.sma(383) : error 037: invalid string (possibly non-terminated string)
QTM_CodMod.sma(1170) : error 010: invalid function or declaration
QTM_CodMod.sma(1172) : error 010: invalid function or declaration
QTM_CodMod.sma(1174) : error 010: invalid function or declaration
4 Errors.
Could not locate output file QTM_CodMod.
amxx (compile failed).
kawalek take damge:
if(informacje_przedmiotu_gracza[this][0] == 26 && random_num(1, informacje_przedmiotu_gracza[this][1]) == 1)
{
SetHamParamEntity(3, this);
SetHamParamEntity(1, idattacker);
}
if(weapon == CSW_AWP && klasa_gracza[idattacker] == Snajper)
damage=float(health);
SetHamParamFloat(4, damage);
return HAM_IGNORED;
}
if(weapon == CSW_HEGRENADE)
{
if(informacje_przedmiotu_gracza[this][0] == 4)
damage=damage*1.4+inteligencja_gracza[idattacker];
if((klasa_gracza[idattacker] == Granadier && random(5) == 2))
damage = float(health);
}
07 wrzesień 2010 - 15:22:ok poradzilem sobie
Pawex ja wiem ze tam ale chodzi mi jak pytalem jaki jest dokladny kod;d