Quote:
Originally Posted by Clive
pawn Код:
if (strcmp(cmdtext, "/savepos", true)==0) { new string[128]; new Float:X, Float:Z, Float:Y; GetPlayerPos(playerid, X, Y, Z); SendClientMessage(playerid,COLOR_GREEN,"Player Pos Should Be Saved."); new File:pos=fopen("SavedPos.log", io_append); format(string, sizeof(string), "%f, %f, %f\r\n", X, Y, Z); fwrite(pos, string); fclose(pos); return 1; }
|
This works perfect, Thanks alot man.