11.07.2015, 13:44
I tested it with the minigun and it appeared to be fine for me.
It works like this:
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 (!):
It works like this:
pawn Код:
if ((22 <= weaponid <= 34) || weaponid == 38)
However, we're doing an inverse check by wrapping the condition with brackets, preceded with NOT (!):
Код:
if ( ! ( (22 <= weaponid <= 34) || weaponid == 38 ) )