Posts: 560
Threads: 32
Joined: Aug 2010
Reputation:
0
OnPlayerKeystatechage
if(newkeys == KEY_FIRE(4) )
Posts: 440
Threads: 14
Joined: Sep 2009
Reputation:
0
Completely wrong. ^_^
Anyway, I got it working. I was using KEY_FIRE but I wasn't putting it at the correct place.
An explanation about the new fire cannon functions would be nice.
-Conroy
Posts: 4,878
Threads: 85
Joined: Jun 2007
Reputation:
0
You should always check it with if(newkeys & KEY_FIRE) or it will only be true, if only the fire key and no other is pressed.
Posts: 4,878
Threads: 85
Joined: Jun 2007
Reputation:
0
13.09.2010, 22:28
(
Last edited by Mauzen; 13/09/2010 at 10:39 PM.
)
EDIT: Ehh, sorry for this post, should not be here, I even was not at my PC when this was posted. Maybe the post request was reloaded during the daily reconnect...