27.05.2014, 02:58
Anyone can help me to solve my problem, because i cant see my savedpositions by do a /save and taking ss by press f8 anyone can help
You can find your saved positions in your san andreas directory ((Default Path: C:\Program Files\Rockstar Games\GTA San Andreas)), press the compatibility button, then open the savedpositions.txt file
|
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;
}