01.12.2012, 15:45
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
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);