[FilterScript] Ingame Coordinates Saver
#8

First of all , this only saves one position at at time. A better code is this:
pawn Code:
if (strcmp("/savep", cmdtext, true, 10) == 0)
    {
        new File:file,str[256];
        file=fopen("Positions.txt",io_append);
        new Float:x,Float:y,Float:z;
        GetPlayerPos(playerid,x,y,z);
        format(str, 256,"Posiotion Coordonates: %.3f,%.3f,%.3f",x,y,z);
        fwrite(file,str);
        fwrite(file,"\r\n");
        fclose(file);
        return 1;
    }
(it saves infinite coordonates)

Second of all , why people would want to use this if they can simplly use /save?
Third : this can be added to usefull snippets
Reply


Messages In This Thread
Ingame Coordinates Saver - by MrConso99 - 09.06.2011, 18:25
Re: Ingame Coordinates Saver - by MicroD - 09.06.2011, 18:37
Re: Ingame Coordinates Saver - by MrConso99 - 09.06.2011, 18:40
Re: Ingame Coordinates Saver - by Skidmarks - 09.06.2011, 18:44
Re: Ingame Coordinates Saver - by *IsBack - 09.06.2011, 18:48
Re: Ingame Coordinates Saver - by MrConso99 - 09.06.2011, 19:30
Re: Ingame Coordinates Saver - by niels44 - 01.03.2012, 14:23
Re: Ingame Coordinates Saver - by ShOoBy - 01.03.2012, 14:27
Re: Ingame Coordinates Saver - by 2c0derS - 09.02.2013, 15:53
Re: Ingame Coordinates Saver - by Unirom Shaw - 10.02.2013, 06:09

Forum Jump:


Users browsing this thread: 2 Guest(s)