[Ajuda] Sistema de relуgio
#1

Erro:
pawn Код:
C:\Users\Eduardo\Desktop\GM.pwn(27848) : warning 209: function "RelogioUPVip" should return a value
Linhas:
pawn Код:
forward RelogioUP(playerid);
public RelogioUP(playerid)
{
    new string[256];
        if(segUP[playerid] == 0 && minUP[playerid] == 0)
        {
            new aname[MAX_PLAYER_NAME];
            GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
            format(file, sizeof(file), PASTA_CONTAS, aname);
            if(PlayerInfo[playerid][Logged] == 1)
            {
                if(AFK[playerid] == 0)
                {
                    dini_IntSet(file, "Tempo", dini_Int(file, "Tempo")+1);
                    //====== [EXP] ======
                    if(dini_Int(file, "Tempo") >=1)
                    {
                        dini_IntSet(file, "EXP", dini_Int(file, "EXP")+1);
                        format(string, sizeof(string), "| UP | Vocк ganhou +1 de experiкncia! [ %d / 5 ]",dini_Int(file, "EXP"));
                        PlayerPlaySound(playerid, 1057, 0, 0, 0);
                        GameTextForPlayer(playerid, "~w~UP!", 3000, 6);
                        SendClientMessage(playerid, 0x75EA00AA, string);
                        dini_IntSet(file, "Tempo",0);
                    }
                    if(dini_Int(file, "EXP") >=5)
                    {
                        dini_IntSet(file, "Level", dini_Int(file, "Level")+1);
                        format(string, sizeof(string), "| UP | Vocк juntou 5 experiкncias, e ganhou +1 level. (Level: %d) ",dini_Int(file, "Level"));
                        SendClientMessage(playerid, 0x75EA00AA, string);
                        PlayerPlaySound(playerid, 1057, 0, 0, 0);
                        dini_IntSet(file, "EXP",0);
                        salario(playerid);
                    if(GetCasas(playerid) > 0) {
                    //SendClientMessage(playerid, 0xC0C0C0AA,"| IMPOSTOS | Os impostos de sua casa foram cobrados. Luz -350$; бgua: -150$. Totalizando: 500$.");
                    //dini_IntSet(file, "SaldoBancario", dini_Int(file, "SaldoBancario")-500);
                    //new Total;
                        new Total = randomEx(0, 99);
                                                  // ele vai gerar numeros. e + numeros ai tu liga e testa pera
                        new rand = random(200); rand += 4000;
                        format(string, sizeof(string), "| IMPOSTOS | Foram cobrados os impostos de sua casa (бgua e energia eletrica). Total: %d$",Total);
                        SendClientMessage(playerid, 0xC0C0C0AA, string);
                        dini_IntSet(file, "SaldoBancario", dini_Int(file, "SaldoBancario")-Total);
                            if(dini_Int(filene(aname),"Punidop") > 0){
                            dini_IntSet(filene(aname),"Punidop", dini_Int(filena(playerid),"Punidop")-1);
                            format(string, sizeof(string),"| INFO | A puniзгo diminui um level quanto tempo falta para acaba %d", dini_Int(filene(aname),"Punidop"));
                            SendClientMessage(playerid, 0xC0C0C0AA, string);
                            }
                    }
                }
            }
            else {
                SendClientMessage(playerid, Vermelho, "| ANTI - AFK | Vocк estб no modo ausente, e nгo recebeu uma experiкncia!");
                }
            }
        }
        if(segUP[playerid] == 0)
        {
            if(minUP[playerid] == 0)
                minUP[playerid] = 5;
                segUP[playerid] = 59;
                minUP[playerid] --;
        }
        format(string, sizeof(string), "~w~+ ~y~UP: ~w~%02d:%02d", minUP[playerid],segUP[playerid]);
        TextDrawSetString(UPRelogio[playerid], string);
        segUP[playerid] --;
        return 1;
}
forward RelogioUPVip(playerid);
public RelogioUPVip(playerid)
if(dini_Int(file, "VIP") == 1){
    new string[256];
        if(segUP[playerid] == 0 && minUP[playerid] == 0)
        {
            new aname[MAX_PLAYER_NAME];
            GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
            format(file, sizeof(file), PASTA_CONTAS, aname);
            if(PlayerInfo[playerid][Logged] == 1)
            {
                if(AFK[playerid] == 0)
                {
                    dini_IntSet(file, "Tempo", dini_Int(file, "Tempo")+1);
                    //====== [EXP] ======
                    if(dini_Int(file, "Tempo") >=1)
                    {
                        dini_IntSet(file, "EXP", dini_Int(file, "EXP")+1);
                        format(string, sizeof(string), "| UP | Vocк ganhou +1 de experiкncia! [ %d / 5 ]",dini_Int(file, "EXP"));
                        PlayerPlaySound(playerid, 1057, 0, 0, 0);
                        GameTextForPlayer(playerid, "~w~UP!", 3000, 6);
                        SendClientMessage(playerid, 0x75EA00AA, string);
                        dini_IntSet(file, "Tempo",0);
                    }
                    if(dini_Int(file, "EXP") >=5)
                    {
                        dini_IntSet(file, "Level", dini_Int(file, "Level")+1);
                        format(string, sizeof(string), "| UP | Vocк juntou 5 experiкncias, e ganhou +1 level. (Level: %d) ",dini_Int(file, "Level"));
                        SendClientMessage(playerid, 0x75EA00AA, string);
                        PlayerPlaySound(playerid, 1057, 0, 0, 0);
                        dini_IntSet(file, "EXP",0);
                        salario(playerid);
                    if(GetCasas(playerid) > 0) {
                    //SendClientMessage(playerid, 0xC0C0C0AA,"| IMPOSTOS | Os impostos de sua casa foram cobrados. Luz -350$; бgua: -150$. Totalizando: 500$.");
                    //dini_IntSet(file, "SaldoBancario", dini_Int(file, "SaldoBancario")-500);
                    //new Total;
                        new Total = randomEx(0, 99);
                                                  // ele vai gerar numeros. e + numeros ai tu liga e testa pera
                        new rand = random(200); rand += 4000;
                        format(string, sizeof(string), "| IMPOSTOS | Foram cobrados os impostos de sua casa (бgua e energia eletrica). Total: %d$",Total);
                        SendClientMessage(playerid, 0xC0C0C0AA, string);
                        dini_IntSet(file, "SaldoBancario", dini_Int(file, "SaldoBancario")-Total);
                            if(dini_Int(filene(aname),"Punidop") > 0){
                            dini_IntSet(filene(aname),"Punidop", dini_Int(filena(playerid),"Punidop")-1);
                            format(string, sizeof(string),"| INFO | A puniзгo diminui um level quanto tempo falta para acaba %d", dini_Int(filene(aname),"Punidop"));
                            SendClientMessage(playerid, 0xC0C0C0AA, string);
                            }
                    }
                }
            }
            else {
                SendClientMessage(playerid, Vermelho, "| ANTI - AFK | Vocк estб no modo ausente, e nгo recebeu uma experiкncia!");
                }
            }
        }
        if(segUP[playerid] == 0)
        {
            if(minUP[playerid] == 0)
                minUP[playerid] = 5;
                segUP[playerid] = 59;
                minUP[playerid] --;
        }
        format(string, sizeof(string), "~w~+ ~y~UP: ~w~%02d:%02d", minUP[playerid],segUP[playerid]);
        TextDrawSetString(UPRelogio[playerid], string);
        segUP[playerid] --;
        return 1;
}
stock randomEx(minnum = cellmin,maxnum = cellmax) return random(maxnum - minnum + 1) + minnum; // LINHA 27848
+ REP
Reply
#2

Tente :
pawn Код:
forward RelogioUPVip(playerid);
public RelogioUPVip(playerid)
if(dini_Int(file, "VIP") == 1){
    new string[256];
        if(segUP[playerid] == 0 && minUP[playerid] == 0)
        {
            new aname[MAX_PLAYER_NAME];
            GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
            format(file, sizeof(file), PASTA_CONTAS, aname);
            if(PlayerInfo[playerid][Logged] == 1)
            {
                if(AFK[playerid] == 0)
                {
                    dini_IntSet(file, "Tempo", dini_Int(file, "Tempo")+1);
                    //====== [EXP] ======
                    if(dini_Int(file, "Tempo") >=1)
                    {
                        dini_IntSet(file, "EXP", dini_Int(file, "EXP")+1);
                        format(string, sizeof(string), "| UP | Vocк ganhou +1 de experiкncia! [ %d / 5 ]",dini_Int(file, "EXP"));
                        PlayerPlaySound(playerid, 1057, 0, 0, 0);
                        GameTextForPlayer(playerid, "~w~UP!", 3000, 6);
                        SendClientMessage(playerid, 0x75EA00AA, string);
                        dini_IntSet(file, "Tempo",0);
                    }
                    if(dini_Int(file, "EXP") >=5)
                    {
                        dini_IntSet(file, "Level", dini_Int(file, "Level")+1);
                        format(string, sizeof(string), "| UP | Vocк juntou 5 experiкncias, e ganhou +1 level. (Level: %d) ",dini_Int(file, "Level"));
                        SendClientMessage(playerid, 0x75EA00AA, string);
                        PlayerPlaySound(playerid, 1057, 0, 0, 0);
                        dini_IntSet(file, "EXP",0);
                        salario(playerid);
                    if(GetCasas(playerid) > 0) {
                    //SendClientMessage(playerid, 0xC0C0C0AA,"| IMPOSTOS | Os impostos de sua casa foram cobrados. Luz -350$; бgua: -150$. Totalizando: 500$.");
                    //dini_IntSet(file, "SaldoBancario", dini_Int(file, "SaldoBancario")-500);
                    //new Total;
                        new Total = randomEx(0, 99);
                                                  // ele vai gerar numeros. e + numeros ai tu liga e testa pera
                        new rand = random(200); rand += 4000;
                        format(string, sizeof(string), "| IMPOSTOS | Foram cobrados os impostos de sua casa (бgua e energia eletrica). Total: %d$",Total);
                        SendClientMessage(playerid, 0xC0C0C0AA, string);
                        dini_IntSet(file, "SaldoBancario", dini_Int(file, "SaldoBancario")-Total);
                            if(dini_Int(filene(aname),"Punidop") > 0){
                            dini_IntSet(filene(aname),"Punidop", dini_Int(filena(playerid),"Punidop")-1);
                            format(string, sizeof(string),"| INFO | A puniзгo diminui um level quanto tempo falta para acaba %d", dini_Int(filene(aname),"Punidop"));
                            SendClientMessage(playerid, 0xC0C0C0AA, string);
                            }
                    }
                }
            }
            else {
                SendClientMessage(playerid, Vermelho, "| ANTI - AFK | Vocк estб no modo ausente, e nгo recebeu uma experiкncia!");
                }
            }
        }
        if(segUP[playerid] == 0)
        {
            if(minUP[playerid] == 0)
                minUP[playerid] = 5;
                segUP[playerid] = 59;
                minUP[playerid] --;
        }
        format(string, sizeof(string), "~w~+ ~y~UP: ~w~%02d:%02d", minUP[playerid],segUP[playerid]);
        TextDrawSetString(UPRelogio[playerid], string);
        segUP[playerid] --;
        return 1;
                }
            }
Quando da esses warnings,no meu gm
eu faзo isso
e funfa '-'
Reply
#3

pawn Код:
forward RelogioUPVip(playerid);
public RelogioUPVip(playerid)
{
if(dini_Int(file, "VIP") == 1){
    new string[256];
        if(segUP[playerid] == 0 && minUP[playerid] == 0)
        {
            new aname[MAX_PLAYER_NAME];
            GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
            format(file, sizeof(file), PASTA_CONTAS, aname);
            if(PlayerInfo[playerid][Logged] == 1)
            {
                if(AFK[playerid] == 0)
                {
                    dini_IntSet(file, "Tempo", dini_Int(file, "Tempo")+1);
                    //====== [EXP] ======
                    if(dini_Int(file, "Tempo") >=1)
                    {
                        dini_IntSet(file, "EXP", dini_Int(file, "EXP")+1);
                        format(string, sizeof(string), "| UP | Vocк ganhou +1 de experiкncia! [ %d / 5 ]",dini_Int(file, "EXP"));
                        PlayerPlaySound(playerid, 1057, 0, 0, 0);
                        GameTextForPlayer(playerid, "~w~UP!", 3000, 6);
                        SendClientMessage(playerid, 0x75EA00AA, string);
                        dini_IntSet(file, "Tempo",0);
                    }
                    if(dini_Int(file, "EXP") >=5)
                    {
                        dini_IntSet(file, "Level", dini_Int(file, "Level")+1);
                        format(string, sizeof(string), "| UP | Vocк juntou 5 experiкncias, e ganhou +1 level. (Level: %d) ",dini_Int(file, "Level"));
                        SendClientMessage(playerid, 0x75EA00AA, string);
                        PlayerPlaySound(playerid, 1057, 0, 0, 0);
                        dini_IntSet(file, "EXP",0);
                        salario(playerid);
                    if(GetCasas(playerid) > 0) {
                    //SendClientMessage(playerid, 0xC0C0C0AA,"| IMPOSTOS | Os impostos de sua casa foram cobrados. Luz -350$; бgua: -150$. Totalizando: 500$.");
                    //dini_IntSet(file, "SaldoBancario", dini_Int(file, "SaldoBancario")-500);
                    //new Total;
                        new Total = randomEx(0, 99);
                                                  // ele vai gerar numeros. e + numeros ai tu liga e testa pera
                        new rand = random(200); rand += 4000;
                        format(string, sizeof(string), "| IMPOSTOS | Foram cobrados os impostos de sua casa (бgua e energia eletrica). Total: %d$",Total);
                        SendClientMessage(playerid, 0xC0C0C0AA, string);
                        dini_IntSet(file, "SaldoBancario", dini_Int(file, "SaldoBancario")-Total);
                            if(dini_Int(filene(aname),"Punidop") > 0){
                            dini_IntSet(filene(aname),"Punidop", dini_Int(filena(playerid),"Punidop")-1);
                            format(string, sizeof(string),"| INFO | A puniзгo diminui um level quanto tempo falta para acaba %d", dini_Int(filene(aname),"Punidop"));
                            SendClientMessage(playerid, 0xC0C0C0AA, string);
                            }
                    }
                }
            }
            else {
                SendClientMessage(playerid, Vermelho, "| ANTI - AFK | Vocк estб no modo ausente, e nгo recebeu uma experiкncia!");
                }
            }
        }
        if(segUP[playerid] == 0)
        {
            if(minUP[playerid] == 0)
                minUP[playerid] = 5;
                segUP[playerid] = 59;
                minUP[playerid] --;
        }
        format(string, sizeof(string), "~w~+ ~y~UP: ~w~%02d:%02d", minUP[playerid],segUP[playerid]);
        TextDrawSetString(UPRelogio[playerid], string);
        segUP[playerid] --;
        return 1;
}
Reply
#4

Nгo funciono nenhum dos 2
Reply
#5

Tente..
pawn Код:
forward RelogioUPVip(playerid);
public RelogioUPVip(playerid)
if(dini_Int(file, "VIP") == 1){
    new string[256];
        if(segUP[playerid] == 0 && minUP[playerid] == 0)
        {
            new aname[MAX_PLAYER_NAME];
            GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
            format(file, sizeof(file), PASTA_CONTAS, aname);
            if(PlayerInfo[playerid][Logged] == 1)
            {
                if(AFK[playerid] == 0)
                {
                    dini_IntSet(file, "Tempo", dini_Int(file, "Tempo")+1);
                    //====== [EXP] ======
                    if(dini_Int(file, "Tempo") >=1)
                    {
                        dini_IntSet(file, "EXP", dini_Int(file, "EXP")+1);
                        format(string, sizeof(string), "| UP | Vocк ganhou +1 de experiкncia! [ %d / 5 ]",dini_Int(file, "EXP"));
                        PlayerPlaySound(playerid, 1057, 0, 0, 0);
                        GameTextForPlayer(playerid, "~w~UP!", 3000, 6);
                        SendClientMessage(playerid, 0x75EA00AA, string);
                        dini_IntSet(file, "Tempo",0);
                    }
                    if(dini_Int(file, "EXP") >=5)
                    {
                        dini_IntSet(file, "Level", dini_Int(file, "Level")+1);
                        format(string, sizeof(string), "| UP | Vocк juntou 5 experiкncias, e ganhou +1 level. (Level: %d) ",dini_Int(file, "Level"));
                        SendClientMessage(playerid, 0x75EA00AA, string);
                        PlayerPlaySound(playerid, 1057, 0, 0, 0);
                        dini_IntSet(file, "EXP",0);
                        salario(playerid);
                    if(GetCasas(playerid) > 0) {
                    //SendClientMessage(playerid, 0xC0C0C0AA,"| IMPOSTOS | Os impostos de sua casa foram cobrados. Luz -350$; бgua: -150$. Totalizando: 500$.");
                    //dini_IntSet(file, "SaldoBancario", dini_Int(file, "SaldoBancario")-500);
                    //new Total;
                        new Total = randomEx(0, 99);
                                                  // ele vai gerar numeros. e + numeros ai tu liga e testa pera
                        new rand = random(200); rand += 4000;
                        format(string, sizeof(string), "| IMPOSTOS | Foram cobrados os impostos de sua casa (бgua e energia eletrica). Total: %d$",Total);
                        SendClientMessage(playerid, 0xC0C0C0AA, string);
                        dini_IntSet(file, "SaldoBancario", dini_Int(file, "SaldoBancario")-Total);
                            if(dini_Int(filene(aname),"Punidop") > 0){
                            dini_IntSet(filene(aname),"Punidop", dini_Int(filena(playerid),"Punidop")-1);
                            format(string, sizeof(string),"| INFO | A puniзгo diminui um level quanto tempo falta para acaba %d", dini_Int(filene(aname),"Punidop"));
                            SendClientMessage(playerid, 0xC0C0C0AA, string);
                            }
                    }
                }
            }
            else {
                SendClientMessage(playerid, Vermelho, "| ANTI - AFK | Vocк estб no modo ausente, e nгo recebeu uma experiкncia!");
return 1;
}
            }
        }
        if(segUP[playerid] == 0)
        {
            if(minUP[playerid] == 0)
                minUP[playerid] = 5;
                segUP[playerid] = 59;
                minUP[playerid] --;
        }
        format(string, sizeof(string), "~w~+ ~y~UP: ~w~%02d:%02d", minUP[playerid],segUP[playerid]);
        TextDrawSetString(UPRelogio[playerid], string);
        segUP[playerid] --;
        return 1;
                }
Reply
#6

Ainda continua dando o mesmo erro.
Reply
#7

pawn Код:
forward RelogioUPVip(playerid);
public RelogioUPVip(playerid)
if(dini_Int(file, "VIP") == 1){
    new string[256];
        if(segUP[playerid] == 0 && minUP[playerid] == 0)
        {
            new aname[MAX_PLAYER_NAME];
            GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
            format(file, sizeof(file), PASTA_CONTAS, aname);
            if(PlayerInfo[playerid][Logged] == 1)
            {
                if(AFK[playerid] == 0)
                {
                    dini_IntSet(file, "Tempo", dini_Int(file, "Tempo")+1);
                    //====== [EXP] ======
                    if(dini_Int(file, "Tempo") >=1)
                    {
                        dini_IntSet(file, "EXP", dini_Int(file, "EXP")+1);
                        format(string, sizeof(string), "| UP | Vocк ganhou +1 de experiкncia! [ %d / 5 ]",dini_Int(file, "EXP"));
                        PlayerPlaySound(playerid, 1057, 0, 0, 0);
                        GameTextForPlayer(playerid, "~w~UP!", 3000, 6);
                        SendClientMessage(playerid, 0x75EA00AA, string);
                        dini_IntSet(file, "Tempo",0);
                    }
                    if(dini_Int(file, "EXP") >=5)
                    {
                        dini_IntSet(file, "Level", dini_Int(file, "Level")+1);
                        format(string, sizeof(string), "| UP | Vocк juntou 5 experiкncias, e ganhou +1 level. (Level: %d) ",dini_Int(file, "Level"));
                        SendClientMessage(playerid, 0x75EA00AA, string);
                        PlayerPlaySound(playerid, 1057, 0, 0, 0);
                        dini_IntSet(file, "EXP",0);
                        salario(playerid);
                    if(GetCasas(playerid) > 0) {
                    //SendClientMessage(playerid, 0xC0C0C0AA,"| IMPOSTOS | Os impostos de sua casa foram cobrados. Luz -350$; бgua: -150$. Totalizando: 500$.");
                    //dini_IntSet(file, "SaldoBancario", dini_Int(file, "SaldoBancario")-500);
                    //new Total;
                        new Total = randomEx(0, 99);
                                                  // ele vai gerar numeros. e + numeros ai tu liga e testa pera
                        new rand = random(200); rand += 4000;
                        format(string, sizeof(string), "| IMPOSTOS | Foram cobrados os impostos de sua casa (бgua e energia eletrica). Total: %d$",Total);
                        SendClientMessage(playerid, 0xC0C0C0AA, string);
                        dini_IntSet(file, "SaldoBancario", dini_Int(file, "SaldoBancario")-Total);
                            if(dini_Int(filene(aname),"Punidop") > 0){
                            dini_IntSet(filene(aname),"Punidop", dini_Int(filena(playerid),"Punidop")-1);
                            format(string, sizeof(string),"| INFO | A puniзгo diminui um level quanto tempo falta para acaba %d", dini_Int(filene(aname),"Punidop"));
                            SendClientMessage(playerid, 0xC0C0C0AA, string);
                            }
                    }
                }
            }
            else {
                SendClientMessage(playerid, Vermelho, "| ANTI - AFK | Vocк estб no modo ausente, e nгo recebeu uma experiкncia!");
return 1;
}
            }
        }
        if(segUP[playerid] == 0)
        {
            if(minUP[playerid] == 0)
                minUP[playerid] = 5;
                segUP[playerid] = 59;
                minUP[playerid] --;
        }
        format(string, sizeof(string), "~w~+ ~y~UP: ~w~%02d:%02d", minUP[playerid],segUP[playerid]);
        TextDrawSetString(UPRelogio[playerid], string);
        segUP[playerid] --;
        return 1;
                }
}
Reply
#8

pawn Код:
forward RelogioUPVip(playerid);
public RelogioUPVip(playerid)
{
    if(dini_Int(file, "VIP") == 1)
    {
        new string[256];
        if(segUP[playerid] == 0 && minUP[playerid] == 0)
        {
            new aname[MAX_PLAYER_NAME];
            GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
            format(file, sizeof(file), PASTA_CONTAS, aname);
            if(PlayerInfo[playerid][Logged] == 1)
            {
                if(AFK[playerid] == 0)
                {
                    dini_IntSet(file, "Tempo", dini_Int(file, "Tempo")+1);
                    if(dini_Int(file, "Tempo") >=1)
                    {
                        dini_IntSet(file, "EXP", dini_Int(file, "EXP")+1);
                        format(string, sizeof(string), "| UP | Vocк ganhou +1 de experiкncia! [ %d / 5 ]",dini_Int(file, "EXP"));
                        PlayerPlaySound(playerid, 1057, 0, 0, 0);
                        GameTextForPlayer(playerid, "~w~UP!", 3000, 6);
                        SendClientMessage(playerid, 0x75EA00AA, string);
                        dini_IntSet(file, "Tempo",0);
                        return 1;
                    }
                    if(dini_Int(file, "EXP") >=5)
                    {
                        dini_IntSet(file, "Level", dini_Int(file, "Level")+1);
                        format(string, sizeof(string), "| UP | Vocк juntou 5 experiкncias, e ganhou +1 level. (Level: %d) ",dini_Int(file, "Level"));
                        SendClientMessage(playerid, 0x75EA00AA, string);
                        PlayerPlaySound(playerid, 1057, 0, 0, 0);
                        dini_IntSet(file, "EXP",0);
                        salario(playerid);
                        return 1;
                    }
                    if(GetCasas(playerid) > 0)
                    {
                        new Total = randomEx(0, 99);
                        new rand = random(200); rand += 4000;
                        format(string, sizeof(string), "| IMPOSTOS | Foram cobrados os impostos de sua casa (бgua e energia eletrica). Total: %d$",Total);
                        SendClientMessage(playerid, 0xC0C0C0AA, string);
                        dini_IntSet(file, "SaldoBancario", dini_Int(file, "SaldoBancario")-Total);
                        return 1;
                    }
                    if(dini_Int(filene(aname),"Punidop") > 0)
                    {
                        dini_IntSet(filene(aname),"Punidop", dini_Int(filena(playerid),"Punidop")-1);
                        format(string, sizeof(string),"| INFO | A puniзгo diminui um level quanto tempo falta para acaba %d", dini_Int(filene(aname),"Punidop"));
                        SendClientMessage(playerid, 0xC0C0C0AA, string);
                        return 1;
                    }
                 }
              }
            }
            }
            else
            {
                SendClientMessage(playerid, Vermelho, "| ANTI - AFK | Vocк estб no modo ausente, e nгo recebeu uma experiкncia!");
            }
        if(segUP[playerid] == 0)
        {
            if(minUP[playerid] == 0)
                minUP[playerid] = 5;
                segUP[playerid] = 59;
                minUP[playerid] --;
        }
        format(string, sizeof(string), "~w~+ ~y~UP: ~w~%02d:%02d", minUP[playerid],segUP[playerid]);
        TextDrawSetString(UPRelogio[playerid], string);
        segUP[playerid] --;
        return 1;
}
Reply
#9

Nгo quer funfa, para nada, da o mesmo erro.
Reply
#10

Quote:
Originally Posted by [NVC]Eduardo
Посмотреть сообщение
Nгo quer funfa, para nada, da o mesmo erro.
Tenta o que acabei de passar
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)