SA-MP Forums Archive
Save positions - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Save positions (/showthread.php?tid=447256)



Save positions - Sellize - 29.06.2013

When i type /save ingame and i goto documents > san andreas user files > samp, the folder is empty.

I have tried reinstalling SAMP and SA
I have removed the san andreas user files folder, it creates itself again with again empty folder
I run samp as admin
I tried running samp debug
I only have 1 san andreas user files


Please help me


Re: Save positions - GODEX - 29.06.2013

Go into your game type /save [MESSAGE]

Go into documents
Go into samp
Then click on SavedPositions

If this isnt showing up, you havent installed SAMP Properly.


Re: Save positions - Sellize - 29.06.2013

Quote:
Originally Posted by GODEX
Посмотреть сообщение
Go into your game type /save [MESSAGE]

Go into documents
Go into samp
Then click on SavedPositions

If this isnt showing up, you havent installed SAMP Properly.
Quote:

When i type /save ingame and i goto documents > san andreas user files > samp, the folder is empty.

As I said its empty, also I stated that

Quote:

I have tried reinstalling SAMP and SA

Saving positions always worked but upon some random time it stoped working


Re: Save positions - Anak - 29.06.2013

All issue is that SA-MP is not installed properly.


Re: Save positions - Sellize - 29.06.2013

Quote:
Originally Posted by Anak
Посмотреть сообщение
All issue is that SA-MP is not installed properly.
Then how do I install it properly?! The samp installation consists of directing to your SA folder and clicking install!


Re: Save positions - GODEX - 29.06.2013

Close all programs, Restart your computer by the Button in the CPU not the button on your desktop. Then go back into your computer reinstall it when no other programs are running


Re: Save positions - Sellize - 29.06.2013

Quote:
Originally Posted by GODEX
Посмотреть сообщение
Close all programs, Restart your computer by the Button in the CPU not the button on your desktop. Then go back into your computer reinstall it when no other programs are running
Still only userdata.dat in the folder


Re: Save positions - GODEX - 29.06.2013

Do you have Teamviewer? Add me on skype: Slaykler


Re: Save positions - Cjgogo - 29.06.2013

Well, that sounds strange, but for instance I have an idea, just create a command, and use it to print the saved coords on screen, or write them in a file, here's a ZCMD command, but first you need to create a text-file called "SavedCoords.txt" inside "scriptfiles" folder, and it should work:

pawn Код:
COMMAND:savecoords(playerid,params[])
{
  if(PlayerInfo[playerid][pAdmin]==0) return 0;
  else
  {
        new CoordString[128];
        new Float:x,Float:y,Float:z,Float:pAngle;
        GetPlayerPos(playeridid,x,y,z);
        GetPlayerFacingAngle(playerid,pAngle);
        format(CoordString,sizeof(CoordString),"%f, %f, %f, %f;\n",x,y,z,pAngle);
        new File:PlayerCoords=fopen("SavedCoords.txt",io_append);
        if(PlayerCoords)
        {
            fwrite(PlayerCoords,CoordString);
            fclose(PlayerCoords);
        }
   }
 return 1;
}
So yeah, let me know if this works(I wrote it right now, so I am not sure), it's a great alternative in my opinnion, until you find the fix.