[Ajuda] Problema Administrativo
#6

sim, vai estar falando merda, mas jб ajuda:
pawn Код:
SalvarPlayer(playerid)
{
    new Nome[MAX_PLAYER_NAME];
    GetPlayerName(playerid, Nome, sizeof(Nome));
    new String[50];
    format(String, sizeof(String), CONTAS, Nome);//troque contas pelo caminho onde quer salvar
    dini_IntSet(String,"Admin", PlayerInfo[playerid][cAdmin]);
    return 1;
}

SetarPlayer(playerid)
{
    new Nome[MAX_PLAYER_NAME];
    GetPlayerName(playerid, Nome, sizeof(Nome));
    new String[50];
    format(String, sizeof(String), CONTAS, Nome);//troque contas pelo caminho onde estб salvo
    PlayerInfo[playerid][cAdmin] = dini_Int(String, "Admin");
    return 1;
}
tente

@off
seu sv й RPG ? Quantos player por dia ficam on ?
Reply


Messages In This Thread
[Ajuda] Problema Administrativo - by shadauer - 13.12.2011, 21:41
Re: [Ajuda] Problema Administrativo - by StrondA_ - 13.12.2011, 21:43
Re: [Ajuda] Problema Administrativo - by shadauer - 13.12.2011, 21:45
Re: [Ajuda] Problema Administrativo - by StrondA_ - 13.12.2011, 21:48
Re: [Ajuda] Problema Administrativo - by shadauer - 13.12.2011, 21:49
Re: [Ajuda] Problema Administrativo - by Cristhian - 13.12.2011, 21:50
Re: [Ajuda] Problema Administrativo - by shadauer - 13.12.2011, 21:51
Re: [Ajuda] Problema Administrativo - by Cristhian - 13.12.2011, 22:01
Re: [Ajuda] Problema Administrativo - by shadauer - 13.12.2011, 22:27

Forum Jump:


Users browsing this thread: 3 Guest(s)