17.07.2011, 23:48
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.
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.