22.02.2011, 21:24
Huuuuum BRASIL PLAY FOREVER DETECTED =P
Isto deve resolver o seu problema , coloque:
Espero ter ajudado
Isto deve resolver o seu problema , coloque:
pawn Код:
//No Topo do GM:
new NivelProcurado[10], texto[30];
//No OnPlayerSpawn:
new PlayerN[MAX_PLAYER_NAME],ProcuradeX[10];
GetPlayerName(playerid, PlayerN, sizeof(PlayerN));
format(texto, 30, "%s.txt", PlayerN);
new File:Procuradaum = fopen(texto, io_read);
fread(Procuradaum, ProcuradeX);
fclose(Procuradaum);
WantedLevel[playerid] = strval(ProcuradeX);
//No OnPlayerDisconnect:
new PlayerN[MAX_PLAYER_NAME];
GetPlayerName(playerid, PlayerN, sizeof(PlayerN));
format(texto, 30, "%s.txt", PlayerN);
new File:Procuradaum = fopen(texto, io_write);
format(NivelProcurado, 10, "%d", WantedLevel[playerid]);
fwrite(Procuradaum, NivelProcurado);
fclose(Procuradaum);
Espero ter ajudado