07.12.2012, 13:26
Well you could try it with this small snippet.
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.
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;
}