SetPlayerCameraLookAt
#4

Well you could try it with this small snippet.
pawn Код:
new File:cpos;
CMD:getcpos(playerid, params[])
{
 new Float:xcp, Float:ycp, Float:zcp;
 GetPlayerCameraPos(playerid, xcp, ycp, zcp);
 new fstr[128];
 format(fstr, sizeof(fstr), "SetPlayerCamerPos(playerid, %f, %f, %f);\r\n", xcp, ycp, zcp);
 cpos = fopen("Camera_coords.txt", io_append);
 fwrite(cpos, fstr);
 fclose(cpos);
 return 1;
}
Set your camera position to what you need and use this command. You can see a samp function written on Scriptfiles-->Camera_coords.txt file. Choose that function and write it into a command or at place where you want the camera pos to be set.
Reply


Messages In This Thread
SetPlayerCameraLookAt - by Roka_Kuroki - 07.12.2012, 10:30
Re: SetPlayerCameraLookAt - by dr.lozer - 07.12.2012, 11:11
Re: SetPlayerCameraLookAt - by Roka_Kuroki - 07.12.2012, 12:58
Re: SetPlayerCameraLookAt - by Lordzy - 07.12.2012, 13:26
Re: SetPlayerCameraLookAt - by Roka_Kuroki - 07.12.2012, 14:20
Re: SetPlayerCameraLookAt - by Roka_Kuroki - 07.12.2012, 18:45
Re: SetPlayerCameraLookAt - by Roka_Kuroki - 08.12.2012, 07:26
Re: SetPlayerCameraLookAt - by Roka_Kuroki - 08.12.2012, 11:02
Re: SetPlayerCameraLookAt - by Roka_Kuroki - 08.12.2012, 19:38
Re: SetPlayerCameraLookAt - by [FSaF]Jarno - 12.12.2012, 04:53

Forum Jump:


Users browsing this thread: 5 Guest(s)