13.05.2009, 03:04
pawn Code:
if(!strcmp(cmdtext,"/save2",true))
{
new Float:x,Float:y,Float:z,Stringy[128];
GetPlayerPos(playerid,x,y,z);
new File:Saves = fopen("savedcoordinates.txt", io_append);
format(Stringy,128,"%f , %f , %f,\r\n",x,y,z);
fwrite(Saves,Stringy);
fclose(Saves);
}

