Position camera aiming.
#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


Messages In This Thread
Position camera aiming. - by Baboon - 27.09.2011, 16:39
Re: Position camera aiming. - by ruben1610 - 27.09.2011, 16:42
Re: Position camera aiming. - by Baboon - 27.09.2011, 16:45
Re: Position camera aiming. - by ruben1610 - 27.09.2011, 16:48
Re: Position camera aiming. - by Baboon - 27.09.2011, 17:31

Forum Jump:


Users browsing this thread: 1 Guest(s)