Position camera aiming.
#1

How could you get the position where the playercamera is looking at?
Thanks.
Reply
#2

What do u mean? Lol explian a bit more, if you want some kind of GTAuse san camera views, use this:http://grandtheftauto.filefront.com/...Hack_v11;44918 place it in your gta san folder and have fun, if i helped add REP :P
Reply
#3

Well I think my sentence was well explained.
I am trying to look for a function that gets the X, Y and Z where the Camera of the player is looking at.
I have heard something of GetPlayerCameraFrontVector, though that doesnt work somehow:

if(PRESSEDbutton(KEY_FIRE))
{
new Floatje, Float:yje, Float:zje;
GetPlayerCameraPos(playerid, xje, yje, zje);
GetPlayerCameraFrontVector(playerid, xje, yje, zje);
CreateExplosion(xje, yje, zje, 0, 10);
}
Reply
#4

My only advise is too look it up, thats what I do,

If i helped REP its free
Reply
#5

hahah xd,
But thats something diffent..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)