Fire truck cannon key?
#1

What is the key for the fire truck cannon?

GetPlayerKeys(...)

if(Key == )

And if someone could explain how the new 0.3b canon aim function(s) work, it would be appreciated.

Thanks,

-Conroy
Reply
#2

OnPlayerKeystatechage

if(newkeys == KEY_FIRE(4) )
Reply
#3

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
Reply
#4

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.
Reply
#5

Quote:
Originally Posted by Conroy
View Post
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
Is there new fire cannon functions?
Reply
#6

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...
Reply
#7

Quote:
Originally Posted by Mauzen
View Post
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...
WTF? Lol!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)