[Ajuda] 2 erros
#1

PHP Code:
C:\Users\Usuario\Desktop\[GM]BPF\pawno\include\servermoneyGM.inc(84) : warning 201redefinition of constant/macro (symbol "OnGameModeInit")
C:\Users\Usuario\Desktop\[GM]BPF\gamemodes\BPS.pwn(12990) : warning 225unreachable code
C
:\Users\Usuario\Desktop\[GM]BPF\gamemodes\BPS.pwn(32487) : warning 235: public function lacks forward declaration (symbol "RelogioUPs")
C:\Users\Usuario\Desktop\[GM]BPF\gamemodes\BPS.pwn(72248) : error 055start of function body without function header
C
:\Users\Usuario\Desktop\[GM]BPF\gamemodes\BPS.pwn(72249) : error 010invalid function or declaration
C
:\Users\Usuario\Desktop\[GM]BPF\gamemodes\BPS.pwn(12986) : warning 204symbol is assigned a value that is never used"reloginhoup"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
2 Errors

Erro linha 12990 esta aqui:
PHP Code:
{
    
ReloginhoUP TextDrawCreate(518.0000004.000000"~y~UP~p~: ~w~10~p~:~w~00");
    
TextDrawBackgroundColor(ReloginhoUP255);
    
TextDrawFont(ReloginhoUP1);
    
TextDrawLetterSize(ReloginhoUP0.4600001.799999);
    
TextDrawColor(ReloginhoUP, -1);
    
TextDrawSetOutline(ReloginhoUP1);
    
TextDrawSetProportional(ReloginhoUP1);
    return 
reloginhoup SetTimer("RelogioUPs"10001);

linha 32487 esta aqui:
PHP Code:
new minu2 0;
new 
TempoReloginho 59;
new 
foicount1 1;
public 
RelogioUPs()
{
    
minu2++;
    
TempoReloginho--;
    new 
string[50];
    if(
minu2>=59)
    {
        
minu2 0;
        
foicount1 ++;
        
TempoReloginho 59;
    }
    if(
foicount1 == 1format(string50,"~y~UP~p~: ~w~9~p~:~w~%d"TempoReloginho);
    else if(
foicount1 == 2format(string50,"~y~UP~p~: ~w~8~p~:~w~%d"TempoReloginho);
    else if(
foicount1 == 3format(string50,"~y~UP~p~: ~w~7~p~:~w~%d"TempoReloginho);
    else if(
foicount1 == 4format(string50,"~y~UP~p~: ~w~6~p~:~w~%d"TempoReloginho);
    else if(
foicount1 == 5format(string50,"~y~UP~p~: ~w~5~p~:~w~%d"TempoReloginho);
    else if(
foicount1 == 6format(string50,"~y~UP~p~: ~w~4~p~:~w~%d"TempoReloginho);
    else if(
foicount1 == 7format(string50,"~y~UP~p~: ~w~3~p~:~w~%d"TempoReloginho);
    else if(
foicount1 == 8format(string50,"~y~UP~p~: ~w~2~p~:~w~%d"TempoReloginho);
    else if(
foicount1 == 9format(string50,"~y~UP~p~: ~w~1~p~:~w~%d"TempoReloginho);
    else if(
foicount1 == 10format(string50,"~y~UP~p~: ~w~0~p~:~w~%d"TempoReloginho);
    
TextDrawSetString(ReloginhoUP,string);
    
TextDrawShowForAll(ReloginhoUP);
    if(
foicount1 == 11)
    {
        
foicount1 1;
        for(new 
i=0i<MAX_PLAYERSi++)
        {
        
PayDay();
        }
    }
    return 
1;
}
public 
SyncTime()
{
    new 
string[64];
    new 
tmphour;
    new 
tmpminute;
    new 
tmpsecond;
    
gettime(tmphourtmpminutetmpsecond);
    
Fixhour(tmphour);
    
tmphour shifthour;
    if ((
tmphour ghour) || (tmphour == && ghour == 23))
    {
        
format(stringsizeof(string), "{4662EC}[BPF]{FFFFFF}: Agora sгo %d:00 horas",shifthour);
        
BroadCast(0x1583F0AA,string);
        
ghour tmphour;
        
SetHora();
    }

e o 72248 e 72249 esta aqui:
PHP Code:
    {
        return 
KillTimer(reloginhoup);
    } 
Obs tento arrumar e da mais merda ainda
Reply


Messages In This Thread
2 erros - by igor97m - 28.07.2015, 22:40
Re: 2 erros - by Cleyson - 28.07.2015, 23:32
Re: 2 erros - by igor97m - 28.07.2015, 23:38
Re: 2 erros - by Cleyson - 28.07.2015, 23:44
Re: 2 erros - by igor97m - 28.07.2015, 23:48
Re: 2 erros - by Cleyson - 29.07.2015, 00:49
Re: 2 erros - by igor97m - 29.07.2015, 01:19
Re: 2 erros - by Cleyson - 29.07.2015, 21:53
Re: 2 erros - by igor97m - 29.07.2015, 22:23

Forum Jump:


Users browsing this thread: 1 Guest(s)