Witam . Jestem tu nowy i nie wiem czy to dobry dział . Chciałbym się dowiedzieć jak mogę przerobić klasę tzn. zeby scout miał 1/1 a ak47 1/8 ? . Klasę robiłem w Generatorze amxx . Proszę o szybką odpowiedź
Moje gg: 46177484
Witamy w Nieoficjalnym polskim support'cie AMX Mod X
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.
|
Guest Message by DevFuse
1 reply to this topic
#1
Posted 07.02.2013 11:05
#2
Posted 10.02.2013 20:23
Jak Zrobiłeś scouta 1/1 to w sma klasy na dole masz
to pod
Dopisz
Pokaże całość
public TakeDamage(this, idinflictor, idattacker, Float:damage, damagebits) { if(!is_user_connected(idattacker)) return HAM_IGNORED; if(!ma_klase[idattacker]) return HAM_IGNORED; if(!(damagebits & DMG_BULLET)) return HAM_IGNORED; if(get_user_weapon(idattacker) == CSW_SCOUT && random_num(1,1) == 1) cod_inflict_damage(idattacker, this, float(get_user_health(this))-damage+1.0, 0.0, idinflictor, damagebits); return HAM_IGNORED; }
to pod
f(get_user_weapon(idattacker) == CSW_SCOUT && random_num(1,1) == 1) cod_inflict_damage(idattacker, this, float(get_user_health(this))-damage+1.0, 0.0, idinflictor, damagebits);
Dopisz
f(get_user_weapon(idattacker) == CSW_AK47 && random_num(1,8) == 1) cod_inflict_damage(idattacker, this, float(get_user_health(this))-damage+1.0, 0.0, idinflictor, damagebits);
Pokaże całość
public TakeDamage(this, idinflictor, idattacker, Float:damage, damagebits) { if(!is_user_connected(idattacker)) return HAM_IGNORED; if(!ma_klase[idattacker]) return HAM_IGNORED; if(!(damagebits & DMG_BULLET)) return HAM_IGNORED; if(get_user_weapon(idattacker) == CSW_SCOUT && random_num(1,1) == 1) cod_inflict_damage(idattacker, this, float(get_user_health(this))-damage+1.0, 0.0, idinflictor, damagebits); if(get_user_weapon(idattacker) == CSW_AK47 && random_num(1,8) == 1) cod_inflict_damage(idattacker, this, float(get_user_health(this))-damage+1.0, 0.0, idinflictor, damagebits); return HAM_IGNORED; }
Also tagged with one or more of these keywords: cod nowy
|
CoD Nowy
[ROZWIĄZANE] Problem z niewidzialnościąStarted by wojtu1, 16.05.2024 cod nowy |
|
|||
CoD Nowy
perk zwiększający wytrzymałość pekuStarted by Rafii, 05.03.2024 cod nowy |
|
||||
|
CoD Nowy
Modele KlasyStarted by Puni07, 11.02.2024 cod nowy |
|
|||
CoD Nowy
Problem z dywizjąStarted by Puni07, 08.02.2024 cod nowy |
|
||||
CoD Nowy
Misjedodac exp Started by Anonimowy09, 08.01.2024 cod nowy |
|
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users