[Include] OnPlayerInvalidBulletShot
#11

I tested it with the minigun and it appeared to be fine for me.

It works like this:

pawn Код:
if ((22 <= weaponid <= 34) || weaponid == 38)
This condition checks if the weapon ID is between 22 and 34, or 38.

However, we're doing an inverse check by wrapping the condition with brackets, preceded with NOT (!):

Код:
if ( ! ( (22 <= weaponid <= 34) || weaponid == 38 ) )
Reply


Messages In This Thread
OnPlayerInvalidBulletShot - by Emmet_ - 10.07.2015, 00:01
Re: OnPlayerInvalidBulletShot - by alex10 - 10.07.2015, 00:41
Re: OnPlayerInvalidBulletShot - by eXeDev - 10.07.2015, 05:51
Re: OnPlayerInvalidBulletShot - by Sime30 - 10.07.2015, 22:32
Re: OnPlayerInvalidBulletShot - by muzammilfreeman - 10.07.2015, 23:01
Re: OnPlayerInvalidBulletShot - by Emmet_ - 11.07.2015, 00:09
Re: OnPlayerInvalidBulletShot - by XxBaDxBoYxX - 11.07.2015, 00:41
Re: OnPlayerInvalidBulletShot - by Lorenc_ - 11.07.2015, 01:21
Re: OnPlayerInvalidBulletShot - by Sime30 - 11.07.2015, 02:15
Re: OnPlayerInvalidBulletShot - by Lorenc_ - 11.07.2015, 12:02
Re: OnPlayerInvalidBulletShot - by Emmet_ - 11.07.2015, 13:44
Re: OnPlayerInvalidBulletShot - by Lorenc_ - 11.07.2015, 14:22
Re: OnPlayerInvalidBulletShot - by BlowUP - 12.07.2015, 02:51
Re: OnPlayerInvalidBulletShot - by Emmet_ - 12.07.2015, 03:06
Re: OnPlayerInvalidBulletShot - by codeshadow - 12.07.2015, 06:00
Re: OnPlayerInvalidBulletShot - by Emmet_ - 12.07.2015, 07:16
Re: OnPlayerInvalidBulletShot - by n0minal - 12.07.2015, 07:19

Forum Jump:


Users browsing this thread: 2 Guest(s)