27.01.2018, 09:34
Here it is 
You can also do this with yini or dini

pawn Код:
#define FILE "Coordinates.cfg"
CMD:coords(playerid, params[])
{
new pos[3], str[96];
GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
format(str, sizeof(str), "%f %f %f", pos[0], pos[1], pos[2]);
if(fexist(FILE))
{
fopen(FILE, io_write);
fwrite(FILE, str);
fclose(FILE);
}
return 1;
}

