SA-MP Forums Archive
Firetruck Water Detection? - 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: Firetruck Water Detection? (/showthread.php?tid=201666)



Firetruck Water Detection? - The_Gangstas - 21.12.2010

do you think it if even possible? i know there is alot of impossible stuff but come on, people finally made the roller coaster. maybe another one of ******'s great theorys can help us detect this?


Respuesta: Firetruck Water Detection? - admantis - 21.12.2010

it's possible.. of course..

First check if player is in a vehicle, if vehicle id is NOT firetruck return 0, else check if he has clicked 'Fire' key (while in a firetruck). Player has sprayed water.


Re: Firetruck Water Detection? - Joe Staff - 21.12.2010

You can also get the players camera angle to determine which way he's aiming


Re: Firetruck Water Detection? - The_Gangstas - 21.12.2010

hmm admastis, i meant water detection.

silenthuntR thx for the info, i will check if there holding the fire key and there camera is looking at the fire. thanks for the info.