Ingame Coordinates Saver -
MrConso99 - 09.06.2011

This is my first FS with the Dini ( In SA-MP forum is my first FS. ).
It saves , the coordinates where you are, with the command "/savecoo", in the file named "Coordinates.txt" in scriptfiles.
It's a little bug: it can save only one position at time.
____________________________________________
Name: InGame Coordinates Saver
Language: PAWN <.<
Use: Saves the current position
Author: MrConso99
Includes: <a_samp> ,
<Dini>
Command: /savecoo
Created: 7/June/2011
Relased:9/June/2011
Download: ==>HERE<==
Author's Email: conso99@hotmail.it(with this email I'm signed in Windows Live Messenger)
_____________________________________________
License:
You can:
-Use, and modify the script.
You don't can:
-Release the script for your
-Modify the credits
______________________________________________
It's a extremely simple script, but useful for beginners.

______________________________________________
I can make things even more complicated with Dini, however,I create these scripts because I like to do these stupid things
Re: Ingame Coordinates Saver -
MicroD - 09.06.2011
Just use SAMP command /save and get crods from Gta San Andreas user file in my documents folder SAMP
Re: Ingame Coordinates Saver -
MrConso99 - 09.06.2011
Quote:
Originally Posted by David Skrbic
Just use SAMP command /save and get crods from Gta San Andreas user file in my documents folder SAMP
|
i know but newbies sure can not find the coordinates in AddPlayerClass. Originally I made this fs for one my "newbie" friend. I use /save
Re: Ingame Coordinates Saver -
Skidmarks - 09.06.2011
Nice idea, but sa-mp hase /save... so yeah But nice idea
Re: Ingame Coordinates Saver -
*IsBack - 09.06.2011
There is also /rs (or it's called something similar) command which is raw save - saves only coordinates, without AddPlayerClass.
Re: Ingame Coordinates Saver -
MrConso99 - 09.06.2011
Quote:
Originally Posted by *IsBack
There is also /rs (or it's called something similar) command which is raw save - saves only coordinates, without AddPlayerClass.
|
I dont know thid cmd, "/rs" but I test it (if exists)
Re: Ingame Coordinates Saver -
niels44 - 01.03.2012
yeah there is also /rs that means raw save so only saves the coords X, Y and Z but nice idea for newbies who dont know where to find the gta sa userfiles directory XD
Re: Ingame Coordinates Saver -
ShOoBy - 01.03.2012
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
Re: Ingame Coordinates Saver -
2c0derS - 09.02.2013
C:\Users\branka\Desktop\Samp Ultra Stunting\pawno\include\dutils.inc(23

: error 017: undefined symbol "StripNewLine"
C:\Users\branka\Desktop\Samp Ultra Stunting\pawno\include\Dini.inc(75) : error 017: undefined symbol "StripNewLine"
C:\Users\branka\Desktop\coosaver_with_dini.txt(84) : error 017: undefined symbol "DINI_StripNewLine"
C:\Users\branka\Desktop\coosaver_with_dini.txt(89) : error 017: undefined symbol "DINI_StripNewLine"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
I need Help
Re: Ingame Coordinates Saver -
Unirom Shaw - 10.02.2013
We can use /save without thus FS :P