[Ajuda] Definiзхes
#1

E ai galera do Fуrum SA:MP, tф com uma dъvida! Tф criando um GM de TDM, e vi um tutorial que ensina a criar gang pra TDM etc, ai quando fui copilar da estes erro
pawn Код:
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v1.0 Beta) Original\pawno\include\seif_walk.inc(39) : error 004: function "Walk_OnPlayerKeyStateChange" is not implemented
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(7) : error 049: invalid line continuation
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(26) : error 049: invalid line continuation
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(34) : error 049: invalid line continuation
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(36) : error 049: invalid line continuation
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(132) : error 017: undefined symbol "gTeam"
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(132) : warning 215: expression has no effect
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(132) : error 001: expected token: ";", but found "]"
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(132) : error 029: invalid expression, assumed zero
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(132) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


9 Errors.
E eu dei
pawn Код:
new gTeam[SLOTS];
e na linha onde diz que tб o erro tб assim:
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    if((classid >= 0) && (classid <= 3))
    {
    gTeam[playerid] = Groove;
    GameTextForPlayer(playerid,"~n~~n~~n~~g~Groove",7000,5);
    }
    return 1;
}
Me ajudem por favor!!! Agradeзo б todos!
Reply
#2

Vê se Resolvera algum desses Erros!:

pawn Код:
public OnPlayerRequestClass(playerid, classid);
{
    if((classid >= 0) && (classid <= 3))
    {
    gTeam[playerid] = Groove;
    GameTextForPlayer(playerid,"~n~~n~~n~~g~Groove",7000,5);
    }
    return 1;
}
pawn Код:
new gTeam[256];
Ou

pawn Код:
new gTeam[128];
Reply
#3

pawn Код:
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(6) : error 049: invalid line continuation
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(25) : error 049: invalid line continuation
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(33) : error 049: invalid line continuation
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(35) : error 049: invalid line continuation
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(128) : error 055: start of function body without function header
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(129) : error 010: invalid function or declaration
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(134) : error 010: invalid function or declaration
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(163) : error 017: undefined symbol "gTeam"
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(163) : warning 215: expression has no effect
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(163) : error 001: expected token: ";", but found "]"
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(163) : error 029: invalid expression, assumed zero
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(163) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


11 Errors.
Testei com os dois mas nгo funcionou
Reply
#4

Vix

Vou tentar Lhe ajudar.

#Edit:

Atualize essa Include:

pawn Код:
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v1.0 Beta) Original\pawno\include\seif_walk.inc(39) : error 004: function "Walk_OnPlayerKeyStateChange" is not implemented
Reply
#5

Ok, espero sua resposta, peзo que analise bem o code, pois nгo tф entendendo estes malditos erros!!!
Reply
#6

Olhe meu Edit!.

pawn Код:
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(163) : error 001: expected token: ";", but found "]"
Poste essa Linha...
Reply
#7

Removi 2 coisas desnecessarias ddas 2 linhas acima, entгo agora й linha 161, o code tб abaixo:
pawn Код:
gTeam[playerid] == Groove
#EDIT:

Eu removi a include, era desnecessaria, e deu o mesmo erro...
Reply
#8

Playerid não se usa entre [ ], E sim em ( ) ou seja:

pawn Код:
gTeam(playerid) == Groove
Reply
#9

Bem, troquei o [] da linha e o erro foi para 26, coloquei o () em outro playerid e ficou 10, entгo jб ajudou agora tem esses kkk, e desde agora peзo que me ajude e mesmo assim irei lhe dar REP+ pelo seu esforзo!
pawn Код:
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(6) : error 049: invalid line continuation
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(25) : error 049: invalid line continuation
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(33) : error 049: invalid line continuation
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(35) : error 049: invalid line continuation
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(128) : error 055: start of function body without function header
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(129) : error 010: invalid function or declaration
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(131) : error 029: invalid expression, assumed zero
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(131) : error 010: invalid function or declaration
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(131 -- 134) : error 010: invalid function or declaration
E:\Arquivos do Victor\Arquivos de Jogos\Rockstar Games\San Andreas Multiplayer Servers\World of Games [0.3x] (v2.1Beta) Original - Cуpia\gamemodes\WoG.pwn(131 -- 134) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


10 Errors.
Reply
#10

Victor, Retire aquele [128] ou [256] que falei para colocar aqui:

pawn Код:
new gTeam [SLOTS];
Coloque assim /\.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)