By the looks of your code, it doesn't look like it will work
as intended. You haven't described what your trying to do. However, your code states that if a player is holding IN_USE and IN_ATTACK it will do something. Keep in mind that the player could also be holding any other button at the same time and it would be same result, even IN_ATTACK2.
Quote:
|
Because with your way, I'll check IN_USE many times, instead of one
|
It's not checking for IN_USE, it's checking for the sum of all 3 of those buttons.
__________________