06.12.2010, 00:51
took me to find more here:
if that fails, I'll try another. Hope this helps
pawn Код:
if (strcmp(cmdtext, "/save", true)==0)
{
GetPlayerPos(playerid, X, Y, Z);
new File:pos=fopen("positions.txt", io_append);
format(string, 256, "Coordenada(%f, %f, %f);", X, Y, Z,Rotation);
fwrite(pos, string);
fclose(pos);
return 1;
}

