Za Pomoc ( + )
Attached Files
-
codclass_smerfus.sma 1.51KB
26 downloads
codclass_smerfus.amxx
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Posted 21.07.2012 21:28
Posted 21.07.2012 21:53
public fwTakeDamage_JedenZ(this, idInf, idAtt, Float:fDmg, dmgBits) { if(!is_user_alive(idAtt) || !ma_klase[idAtt]) return HAM_IGNORED; new weapon = get_user_weapon(idattacker); if( weapon == CSW_MP5NAVY & (dmgBits & (1<<1) ) && random_num(1, 14) == 1) { cs_set_user_armor(this, 0, CS_ARMOR_NONE); SetHamParamFloat(4, float(get_user_health(this) + 1)); } if(weapon == CSW_HEGRENADE & dmgBits & (1<<24)) SetHamParamFloat(4, fDmg+cod_get_user_intelligence(idAtt)); return HAM_HANDLED; }
Posted 21.07.2012 22:00
Posted 22.07.2012 05:08
ŁapA dasz gotowe sma ? Będe wdzięczny
Posted 22.07.2012 10:55
Posted 22.07.2012 11:07
public fwTakeDamage_JedenZ(this, idInf, idAtt, Float:fDmg, dmgBits)
{
if(!is_user_alive(idAtt) || !ma_klase[idAtt])
return HAM_IGNORED;
new weapon = get_user_weapon(idattacker);
if( weapon == CSW_MP5NAVY & (dmgBits & (1<<1) ) && random_num(1, 14) == 1)
{
cs_set_user_armor(this, 0, CS_ARMOR_NONE);
SetHamParamFloat(4, float(get_user_health(this) + 1));
}
if(weapon == CSW_HEGRENADE & dmgBits & (1<<24))
SetHamParamFloat(4, fDmg+cod_get_user_intelligence(idAtt));
return HAM_HANDLED;
}
Mateusz takie trudne jest podmienić tekst w pliku .sma ??
Edited by Mesiuskate, 22.07.2012 11:07.
Posted 22.07.2012 11:27
Posted 22.07.2012 15:14
Posted 22.07.2012 15:45
Sprzedam:
System odznak premium do BF2 Rank Mod (dodatkowy sposób na zarobek)
Więcej Informacji na STEAM/GG/PW
0 members, 1 guests, 0 anonymous users