Is Vehicle in Field Of View..
#1

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.
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=136338

I hope this helps.
Reply
#3

Maybe: https://sampwiki.blast.hk/wiki/IsVehicleStreamedIn
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)