Detect Shooting
I want to Detect when you shoot with a deagle
This codes the detect when you press the shoot button Tex: If you dont got any bullets and shoot it will print in the chat I want it only to print in the chat when you shoot with a bullet Code:
RegisterHam( Ham_Weapon_PrimaryAttack, "weapon_deagle", "Ham_Attack" ) |
Re: Detect Shooting
pev(entity, pev_owner) -> get_pdata_cbase(pEntity, 41, 4); - It is correct
check - if( !cs_get_weapon_ammo( pEntity) ) return; |
| All times are GMT -4. The time now is 16:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.