/save in server dont work?, to get cordinates
#10

took me to find more here:

pawn Код:
if (strcmp(cmdtext, "/save", true)==0)
  {
    GetPlayerPos(playerid, X, Y, Z);
    new File:pos=fopen("positions.txt", io_append);
    format(string, 256, "Coordenada(%f, %f, %f);", X, Y, Z,Rotation);
    fwrite(pos, string);
    fclose(pos);
 
    return 1;
  }
if that fails, I'll try another. Hope this helps
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)