[Ajuda] Alguns warnings
#1

pawn Код:
C:\Users\Marco\Desktop\Server\Deixar ON\gamemodes\bld-bk.pwn(12456) : warning 202: number of arguments does not match definition
C:\Users\Marco\Desktop\Server\Deixar ON\gamemodes\bld-bk.pwn(18167) : warning 202: number of arguments does not match definition
C:\Users\Marco\Desktop\Server\Deixar ON\gamemodes\bld-bk.pwn(18158) : warning 203: symbol is never used: "continuar"
C:\Users\Marco\Desktop\Server\Deixar ON\gamemodes\bld-bk.pwn(44431) : warning 206: redundant test: constant expression is non-zero
C:\Users\Marco\Desktop\Server\Deixar ON\gamemodes\bld-bk.pwn(51984) : warning 203: symbol is never used: "encode_tires"
C:\Users\Marco\Desktop\Server\Deixar ON\gamemodes\bld-bk.pwn(51984) : warning 203: symbol is never used: "laserInfo"
Linhas:
pawn Код:
12456 =         DeleteClosestStrip();
18167 =                 SetTimerEx( "continuar", 30000, false);
18158 =                 new continuar;
44431 =                 if(Player[playerid][pMember] == TEAM_ALQAEDA, TEAM_TALIBAN)
linha 51984 nao tem porque acaba o gm
Reply
#2

Se nao me engano sao avisos de numero de angulos errado , e funзao nao utilizada ...
Reply
#3

Quote:
Originally Posted by iCamila
Посмотреть сообщение
pawn Код:
C:\Users\Marco\Desktop\Server\Deixar ON\gamemodes\bld-bk.pwn(12456) : warning 202: number of arguments does not match definition
C:\Users\Marco\Desktop\Server\Deixar ON\gamemodes\bld-bk.pwn(18167) : warning 202: number of arguments does not match definition
C:\Users\Marco\Desktop\Server\Deixar ON\gamemodes\bld-bk.pwn(18158) : warning 203: symbol is never used: "continuar"
C:\Users\Marco\Desktop\Server\Deixar ON\gamemodes\bld-bk.pwn(44431) : warning 206: redundant test: constant expression is non-zero
C:\Users\Marco\Desktop\Server\Deixar ON\gamemodes\bld-bk.pwn(51984) : warning 203: symbol is never used: "encode_tires"
C:\Users\Marco\Desktop\Server\Deixar ON\gamemodes\bld-bk.pwn(51984) : warning 203: symbol is never used: "laserInfo"
Linhas:
pawn Код:
12456 =         DeleteClosestStrip();
18167 =                 SetTimerEx( "continuar", 30000, false);
18158 =                 new continuar;
44431 =                 if(Player[playerid][pMember] == TEAM_ALQAEDA, TEAM_TALIBAN)
linha 51984 nao tem porque acaba o gm
Veja:
PHP код:
12456 DeleteClosestStrip();//Provavelmente tem agluma coisa nesses parenteses, me passa o cуdigo do DeleteClosestStrip
18167 SetTimerEx"continuar"30000false);//SetTimerEx, й para definir um timer a um player, entгo isso fica assim SetTimerEx("continuar", 30000, false, "d", playerid);
18158 = new continuar;//ele estб falando que "CONTINUAR" nгo estб sendo usado em nenhum lugar do seu GM/FS
44431 = if(Player[playerid][pMember] == TEAM_ALQAEDATEAM_TALIBAN)//desse jeito estб errado, essa virgula nгo tem nenhuma aзгo. Eu nгo sei o que vocк quer comparar ai mas deve ser assim: if(Player[playerid][pMember] == TEAM_ALQAEDA && Player[playerid][pMember] == TEAM_TALIBAN)
C:\Users\Marco\Desktop\Server\Deixar ON\gamemodes\bld-bk.pwn(51984) : warning 203symbol is never used"encode_tires"//Estб falando que essa variбvel "encode_tires", nгo estб sendo utilizada
C:\Users\Marco\Desktop\Server\Deixar ON\gamemodes\bld-bk.pwn(51984) : warning 203symbol is never used"laserInfo"//Estб falando que essa variбvel "laserInfo", nгo estб sendo utilizada 
Reply
#4

pawn Код:
if(Player[playerid][pCorrente] != 0)
    {
        DeleteClosestStrip();
        Player[playerid][pCorrente] = 0;
        RemoveCorrente(playerid);
    }
}
Reply
#5

UkTake voce me ajudou bastante.. serб que poderia ajudar mais? rsrsrs
Alguns warning no meu FS.. era de se esperar pq eu nao sou muito experiente
pawn Код:
C:\Users\Marco\Desktop\Server\Deixar ON\filterscripts\VoltarCoordenada.pwn(33) : warning 219: local variable "Continuar" shadows a variable at a preceding level
C:\Users\Marco\Desktop\Server\Deixar ON\filterscripts\VoltarCoordenada.pwn(34) : warning 219: local variable "Aviso" shadows a variable at a preceding level
C:\Users\Marco\Desktop\Server\Deixar ON\filterscripts\VoltarCoordenada.pwn(34) : warning 203: symbol is never used: "Aviso"
C:\Users\Marco\Desktop\Server\Deixar ON\filterscripts\VoltarCoordenada.pwn(33) : warning 203: symbol is never used: "Continuar"
C:\Users\Marco\Desktop\Server\Deixar ON\filterscripts\VoltarCoordenada.pwn(53) : warning 225: unreachable code
C:\Users\Marco\Desktop\Server\Deixar ON\filterscripts\VoltarCoordenada.pwn(102) : warning 235: public function lacks forward declaration (symbol "Continuar")
C:\Users\Marco\Desktop\Server\Deixar ON\filterscripts\VoltarCoordenada.pwn(107) : warning 235: public function lacks forward declaration (symbol "Aviso")
C:\Users\Marco\Desktop\Server\Deixar ON\filterscripts\VoltarCoordenada.pwn(64) : warning 204: symbol is assigned a value that is never used: "TimerCmd"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


8 Warnings.
Linhas:
pawn Код:
33 =  new Continuar;
34 =  new Aviso;
53 = usoucontinuar[playerid] = false;
102 = public Continuar(playerid)
107 = public Aviso(playerid)
64 = TimerCmd = SetTimerEx("UsarComando", 30000, false, "u", playerid);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)