[Ajuda] 26 errors :S
#1

Seguinte estava criando um FS do sistema de gangs fiz tudo certinho de acordo com o tutorial do Josma sу que na hora de compliar de 20 erros Oo
aqui esta os erros
Код:
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(1) : error 031: unknown directive
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(8) : error 017: undefined symbol "MAX_PLAYERS"
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(15) : error 001: expected token: ";", but found "-string-"
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(33) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(79) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(91) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(92) : error 021: symbol already defined: "CreateObject"
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(92) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(94) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(108) : error 021: symbol already defined: "CreateObject"
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(108) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(109) : error 021: symbol already defined: "CreateObject"
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(109) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(112) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(124) : error 021: symbol already defined: "CreateObject"
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(124) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(125) : error 021: symbol already defined: "CreateObject"
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(125) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(128) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(142) : error 021: symbol already defined: "CreateObject"
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(142) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(143) : error 021: symbol already defined: "CreateObject"
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(143) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(144) : error 021: symbol already defined: "CreateObject"
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(144) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(145) : error 021: symbol already defined: "CreateObject"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
e a pastbin da org
http://pastebin.com/XUpYA6S5

agradecido ^^
Reply
#2

Tб cheio de erros de "escrita" (como digitou a funзгo) ai.
Arrume/troque da linha 1 atй a 7 :
pawn Код:
#include <a_samp>

enum Info
{
    Membro,
    Cargo
};
Na linha 78 :
pawn Код:
new VReport [10];//Reporteres
Caso dк mais erros poste.


Espero ter ajudado.
Reply
#3

Continuaram os erros :S quais erros de escrita por exemplo?

Erros:
Код:
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(15) : error 001: expected token: ";", but found "-string-"
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(33) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(59) : error 001: expected token: ";", but found "new"
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(80) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(95) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(113) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(129) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(150) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(170) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(186) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(204) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(239) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(256) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(276) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(296) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(330) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(359) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(379) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(414) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(448) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(508) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(535) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(578) : error 010: invalid function or declaration
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(608) : error 028: invalid subscript (not an array or too many subscripts): "VPCivil"
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(608) : warning 215: expression has no effect
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(608) : error 001: expected token: ";", but found "]"
C:\Users\Akatsuki\Desktop\Pawno\Tutorial\gangs.pwn(608) : error 029: invalid expression, assumed zero

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Reply
#4

Tipo "#includ <a_samp>" quando na verdade й "#include <a_samp>".

Tб vamos lб.

Na linha 14 faltava uma "," para dar continuidade as outras variбveis. Modifique para :
pawn Код:
"PFederal",           //Org [2]: policia Federal
Na linha 608 falta um parenteses para fechar a funзгo do if (")"). Modifique para :
pawn Код:
if(VDaOrg(VPMilitar,0,4)  && ProgressaoInfo[playerid][Membro] != 2) return RemovePlayerFromVehicle(playerid), SendClientMessage(playerid, Azulagua, "Vocк nгo й da Policia Militar");
Reply
#5

Provavelmente esqueceu de fechar alguma chave.
Reveja tudo!
Reply
#6

Vish continua dando os mesmos erros sera q ta faltando algo tipo oque postei na paste bin e tudo o que tem no FS exatente tudo Oo
Reply
#7

Seu funcionamento nгo esta correto por favor refaзa seu code!

Se me entende !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)