03.01.2011, 09:10
(
Last edited by Domozinho; 03/01/2011 at 09:57 AM.
)
pawn Code:
enum pInfo {pNiveldeprocurado}
pawn Code:
public OnPlayerRegister(playerid, password[])
{
format(var, 64, "Nнvel de procurado: %d", PlayerInfo[playerid][pNiveldeprocurado]); fwrite(hFile, var);
PlayerInfo[playerid][pNiveldeprocurado] = GetPlayerWantedLevel(playerid);
return 1;
}
pawn Code:
public OnPlayerLogin(playerid, password[]);
{
if (strcmp(key, "Nнvel de procurado", true) == 0)
{
val = ini_GetValue(Data);
PlayerInfo[playerid][pNiveldeprocurado] = strval(val);
}
return 1;
}