[ajuda] Hora + Vip
#7

Adapte para o que o strong fez.

pawn Код:
new nome[MAX_PLAYER_NAME]; GetPlayerName(playerid, nome, sizeof(nome)), string[0x3C*3];
        format(string, sizeof(string), "ricop522_%s.ini", nome);
        if(!dini_Exists(string)) {
            dini_Create(string);
            dini_IntSet(string, "Horas", PlayerTime[playerid]);
        }
        else {
            dini_IntSet(string, "Horas", PlayerTime[playerid]);
        }
        //Setando a horas do jogador
        PlayerTime[playerid] = dini_Int(string, "Horas");
        //Checando
        if(PlayerTime[playerid] == 10) PlayerVip[playerid] = 1; PlayerTime[playerid] = 0;

Teste para ver se funciona.
Grato.
Reply


Messages In This Thread
[ajuda] Hora + Vip - by mengueh - 18.06.2011, 23:30
Re: [ajuda] Hora + Vip - by DreeH - 18.06.2011, 23:43
Re: [ajuda] Hora + Vip - by [S]trong - 18.06.2011, 23:47
Re: [ajuda] Hora + Vip - by DreeH - 18.06.2011, 23:53
Re: [ajuda] Hora + Vip - by [S]trong - 18.06.2011, 23:55
Re: [ajuda] Hora + Vip - by DreeH - 19.06.2011, 00:02
Re: [ajuda] Hora + Vip - by Ricop522 - 19.06.2011, 00:10
Re: [ajuda] Hora + Vip - by mengueh - 19.06.2011, 01:24
Re: [ajuda] Hora + Vip - by Ricop522 - 19.06.2011, 02:21
Re: [ajuda] Hora + Vip - by Falcon. - 19.06.2011, 04:05

Forum Jump:


Users browsing this thread: 5 Guest(s)