rg_fire_bullets
- Синтаксис
-
native rg_fire_bullets(const inflictor, const attacker, const shots, Float:vecSrc[3], Float:vecDirShooting[3], Float:vecSpread[3], const Float:flDistance, const Bullet:iBulletType, const iTracerFreq, const iDamage);
Переменная | Описание |
---|---|
inflictor |
Inflictor is the entity that caused the damage (such as a gun) |
attacker |
Attacker is the entity that tirggered the damage (such as the gun's owner) |
shots |
The number of shots |
vecSrc |
The source position of the barrel |
vecDirShooting |
Shooting direction |
vecSpread |
Spread |
flDistance |
Max shot distance |
iBulletType |
Bullet type, look at the enum with name Bullet in cssdk_const.inc |
iTracerFreq |
Tracer frequency |
iDamage |
Damage amount |
- Описание
- Fires bullets from entity.
- Возвращает
- Функция ничего не возвращает