Is Vehicle in Field Of View.. - 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: Is Vehicle in Field Of View.. (
/showthread.php?tid=269801)
Is Vehicle in Field Of View.. -
iPLEOMAX - 17.07.2011
Hello again Guys..
I suck at maths really bad (well, cuz I'm a Bio Student) and now I need to make a code that detects if a vehicle is present in the view of a player.
I've used GetPlayerCameraFrontVector, GetPlayerCameraPos & foreach to check all this... But It goes all wrong...
(Seriously, I have no idea what I'm doing, I've looked at the wiki page and i mess it up everytime)
I would appreciate some help with the
Vector Part, I don't get a sh!t...
Could you atleast explain me something about the vector function, you don't have to post any codes though.
Thanks.
Re: Is Vehicle in Field Of View.. -
CaHbKo - 18.07.2011
https://sampforum.blast.hk/showthread.php?tid=136338
I hope this helps.
Re: Is Vehicle in Field Of View.. -
CyNiC - 18.07.2011
Maybe:
https://sampwiki.blast.hk/wiki/IsVehicleStreamedIn