16.08.2018, 19:20
Are you serious? What is newstate == KEY_SECONDARY_ATTACK?
What a newstate function (driver/passenger) has to do with KEY_SECONDARY_ATTACK (keys)?.
Use the key check just on OnPlayerKeyStateChange, in NO WAY your code will ever work.
What a newstate function (driver/passenger) has to do with KEY_SECONDARY_ATTACK (keys)?.
Use the key check just on OnPlayerKeyStateChange, in NO WAY your code will ever work.