SA-MP Forums Archive
Fire truck cannon key? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Fire truck cannon key? (/showthread.php?tid=176579)



Fire truck cannon key? - Conroy - 13.09.2010

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


Re: Fire truck cannon key? - Voldemort - 13.09.2010

OnPlayerKeystatechage

if(newkeys == KEY_FIRE(4) )


Re: Fire truck cannon key? - Conroy - 13.09.2010

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


Re: Fire truck cannon key? - Mauzen - 13.09.2010

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.


Re: Fire truck cannon key? - Cameltoe - 13.09.2010

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?


Re: Fire truck cannon key? - Mauzen - 13.09.2010

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


Re: Fire truck cannon key? - Cameltoe - 14.09.2010

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!