[FilterScript] Ingame Coordinates Saver
#1


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
Reply
#2

Just use SAMP command /save and get crods from Gta San Andreas user file in my documents folder SAMP
Reply
#3

Quote:
Originally Posted by David Skrbic
View Post
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
Reply
#4

Nice idea, but sa-mp hase /save... so yeah But nice idea
Reply
#5

There is also /rs (or it's called something similar) command which is raw save - saves only coordinates, without AddPlayerClass.
Reply
#6

Quote:
Originally Posted by *IsBack
View Post
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)
Reply
#7

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
Reply
#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
#9

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
Reply
#10

We can use /save without thus FS :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)