Detecting If A Weapon Is Silenced
Well, like the title says, is there a way to detect if a weapon is silenced? or has the silencer attached to it?...
|
Re: [HELP] Detecting If A Weapon Is Silenced
Quote:
Are u banned on google search ? |
Re: [HELP] Detecting If A Weapon Is Silenced
|
Re: [HELP] Detecting If A Weapon Is Silenced
Hey thanks! I'm doing this:
PHP Code:
|
Re: [HELP] Detecting If A Weapon Is Silenced
You are using it incorrectly. You must pass the weapon entity to the cs_get/set_weapon_silen() function.
PHP Code:
Code:
Here you can see it will only work for those two weapons. PHP Code:
|
| All times are GMT -4. The time now is 18:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.