SA-MP Forums Archive
water truck - 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: water truck (/showthread.php?tid=274946)



water truck - Unknown123 - 07.08.2011

how can i check if a water truck is aming at a fire? or how can i check if a water truck is aming at x, y, z?


Re: water truck - Johnson_boy - 07.08.2011

https://sampwiki.blast.hk/wiki/GetPlayerCameraFrontVector


Re: water truck - Unknown123 - 07.08.2011

if(GetPlayerCameraFrontVector(playerid, Fire[id][X], Fire[id][Y], Fire[id][Z]))
{

dont work, i can aim anywhere