firefighter - 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)
+--- Thread: firefighter (
/showthread.php?tid=484832)
firefighter -
AlmirDelic - 01.01.2014
Hello all,
Thus, doing business firefighter
how to make water out of the car shall be a flame?
script to know whether the water out of the car goes to one place?
Re: firefighter -
AlmirDelic - 02.01.2014

??
Re: firefighter -
camaro8 - 02.01.2014
check if the player is at a certain point, of the flamme, then checking the players distance to the point by IsPlayerInRange or something similar.
Re: firefighter -
AlmirDelic - 02.01.2014
but how do you verify that water falling on fire
AW: firefighter -
Nero_3D - 02.01.2014
You can't best thing would be if you used the camera front vector
If I remember correctly the water goes in the direction you are looking
Maybe you need to adjust it a little and than check if the vector intersects the fire object