View Single Post
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 05-14-2012 , 12:05   Re: Jump Sound Blocker
Reply With Quote #4

Quote:
Originally Posted by Exolent[jNr] View Post
Code:
#define IN_JUMP  (2<<0)

First, you should just include hldsk_const.inc instead of redefining constants.
Second, that bitshift makes no sense. You are moving the bits left 0 times, which is as useful as multiplying by 1.
Thanks, I still I have somewhat to learn about bits. Done.

Quote:
Originally Posted by ConnorMcLeod View Post
What is happening if we run holding the jump key ?
Whoops forgot about that, thanks. Fixed.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline