SetPlayerCameraPos ??
#6

You want to know where the player is shooting/aiming?
Or do you want the position where he has his camera?

If you want the pos of the camera the code is
pawn Код:
new Float:x, Float:y, Float:z;
    GetPlayerCameraPos(playerid, x, y, z);
 
    new string[128];
    format(string, 128, "Position of the camera is %f, %f, %f", x, y, z);
    print(string);
Reply


Messages In This Thread
SetPlayerCameraPos ?? - by Azazelo - 01.12.2012, 15:29
Re: SetPlayerCameraPos ?? - by [HK]Ryder[AN] - 01.12.2012, 15:31
Re: SetPlayerCameraPos ?? - by Azazelo - 01.12.2012, 15:34
Re: SetPlayerCameraPos ?? - by [HK]Ryder[AN] - 01.12.2012, 15:36
Re: SetPlayerCameraPos ?? - by Azazelo - 01.12.2012, 15:39
Re: SetPlayerCameraPos ?? - by [HK]Ryder[AN] - 01.12.2012, 15:45

Forum Jump:


Users browsing this thread: 3 Guest(s)