GetPlayerCameraFrontVector/GetPlayerCameraUpVector
#1

Can someone post what they do, and what they could be used for?

What are the differences and could you also post a example?
Reply
#2

subscribing to topic.. lulz.
Reply
#3

Im not 100% sure about UpVector, but GetPlayerCameraFrontVector returns a normal vector, representing the direction, the player looks at.
Meaning, If you get the players CameraPos, and add the x-fold of the three components of the vector to the coords, you get the Point in the middle of the players screen in x m distance.

The UpVector might be the vector representing the way between playercamera and player, but I have not worked much with this yet.
Reply
#4

Thanks
Reply
#5

Have you heard of something that called wiki samp?
Reply
#6

In the wiki there is no information about these functions, only the syntax. Maybe ill add something on occasion.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)