fm_set_user_suit
- Синтаксис
-
stock fm_set_user_suit(index, bool:suit = true, bool:sound = true) { new weapons = pev(index, pev_weapons); if (!suit) set_pev(index, pev_weapons, weapons & ~(1<<WEAPON_SUIT)); else if (!(weapons & (1<<WEAPON_SUIT))) { set_pev(index, pev_weapons, weapons | (1<<WEAPON_SUIT)); if (sound) emit_sound(index, CHAN_VOICE, "items/tr_kevlar.wav", VOL_NORM, ATTN_NORM, 0, PITCH_NORM); } }
Переменная | Описание |
---|---|
Нет агрументов |
- Описание
- This function has no description.