Need (HelP) and please Reply
#7

Try un-installing GTA San Andreas and SA-MP, then re-installing both. For some reason my SA-MP doesn't save any positions or screenshots in my documents either, so I just created a code in my script to save the positions in the scriptfile.

Here's the command I made if you want to use it:
pawn Code:
CMD:saveposition(playerid, params[])
{
    new string[128];
    new Float: x, Float: y, Float: z, Float:a, interior;
    GetPlayerPos(playerid, x, y, z);
    GetPlayerFacingAngle(playerid, a);
    interior = GetPlayerInterior(playerid);
    format(string, sizeof(string), "\r\r %f, %f, %f, %f, %d - %s", x, y, z, a, interior, params);
   
    new File:positions = fopen("savedpositions.txt", io_append);
    fwrite(positions, string);
    fclose(positions);
    return 1;
}
Create savedpositions.txt in your 'scriptfiles' and it'll save there.
Reply


Messages In This Thread
Need (HelP) and please Reply - by KennJie - 27.05.2014, 02:58
Re: Need (HelP) and please Reply - by Josh_Main - 27.05.2014, 03:20
Re: Need (HelP) and please Reply - by KennJie - 27.05.2014, 04:08
Re: Need (HelP) and please Reply - by Dignity - 27.05.2014, 04:24
Re: Need (HelP) and please Reply - by Rittik - 27.05.2014, 05:06
Re: Need (HelP) and please Reply - by Threshold - 27.05.2014, 08:26
Re: Need (HelP) and please Reply - by Jack_Leslie - 27.05.2014, 08:33

Forum Jump:


Users browsing this thread: 1 Guest(s)