29.06.2013, 12:51
Well, that sounds strange, but for instance I have an idea, just create a command, and use it to print the saved coords on screen, or write them in a file, here's a ZCMD command, but first you need to create a text-file called "SavedCoords.txt" inside "scriptfiles" folder, and it should work:
So yeah, let me know if this works(I wrote it right now, so I am not sure), it's a great alternative in my opinnion, until you find the fix.
pawn Код:
COMMAND:savecoords(playerid,params[])
{
if(PlayerInfo[playerid][pAdmin]==0) return 0;
else
{
new CoordString[128];
new Float:x,Float:y,Float:z,Float:pAngle;
GetPlayerPos(playeridid,x,y,z);
GetPlayerFacingAngle(playerid,pAngle);
format(CoordString,sizeof(CoordString),"%f, %f, %f, %f;\n",x,y,z,pAngle);
new File:PlayerCoords=fopen("SavedCoords.txt",io_append);
if(PlayerCoords)
{
fwrite(PlayerCoords,CoordString);
fclose(PlayerCoords);
}
}
return 1;
}