Erro Ao Copilar -
SrCarequinha32 - 25.01.2018
Opa estou com os seguintes erros
C:\Users\Gabriel\Desktop\Novo Sevidor\gamemodes\GM.pwn(42) : error 017: undefined symbol "TDEditor_TD"
C:\Users\Gabriel\Desktop\Novo Sevidor\gamemodes\GM.pwn(42) : warning 215: expression has no effect
C:\Users\Gabriel\Desktop\Novo Sevidor\gamemodes\GM.pwn(42) : error 001: expected token: ";", but found "]"
C:\Users\Gabriel\Desktop\Novo Sevidor\gamemodes\GM.pwn(42) : error 029: invalid expression, assumed zero
C:\Users\Gabriel\Desktop\Novo Sevidor\gamemodes\GM.pwn(42) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
Linhas
Comeзo gm new Text:TDEditor_TD[12];
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
//Tela Login
TDEditor_TD[0] = TextDrawCreate(272.400085, 203.440078, "box");
TextDrawLetterSize(TDEditor_TD[0], 0.000000, 2.080004);
TextDrawTextSize(TDEditor_TD[0], 371.000000, 0.000000);
TextDrawAlignment(TDEditor_TD[0], 1);
TextDrawColor(TDEditor_TD[0], -1);
TextDrawUseBox(TDEditor_TD[0], 1);
TextDrawBoxColor(TDEditor_TD[0], 255);
TextDrawSetShadow(TDEditor_TD[0], 0);
TextDrawSetOutline(TDEditor_TD[0], 0);
TextDrawBackgroundColor(TDEditor_TD[0], 255);
TextDrawFont(TDEditor_TD[0], 1);
TextDrawSetProportional(TDEditor_TD[0], 1);
TextDrawSetShadow(TDEditor_TD[0], 0);
TDEditor_TD[1] = TextDrawCreate(272.400024, 168.346969, "box");
TextDrawLetterSize(TDEditor_TD[1], 0.000000, 2.160001);
TextDrawTextSize(TDEditor_TD[1], 371.000000, 0.000000);
TextDrawAlignment(TDEditor_TD[1], 1);
TextDrawColor(TDEditor_TD[1], -1);
TextDrawUseBox(TDEditor_TD[1], 1);
TextDrawBoxColor(TDEditor_TD[1], 255);
TextDrawSetShadow(TDEditor_TD[1], 0);
TextDrawSetOutline(TDEditor_TD[1], 0);
TextDrawBackgroundColor(TDEditor_TD[1], 255);
TextDrawFont(TDEditor_TD[1], 1);
TextDrawSetProportional(TDEditor_TD[1], 1);
TextDrawSetShadow(TDEditor_TD[1], 0);
TDEditor_TD[2] = TextDrawCreate(272.400085, 237.040130, "box");
TextDrawLetterSize(TDEditor_TD[2], 0.000000, 2.160005);
TextDrawTextSize(TDEditor_TD[2], 372.000000, 0.000000);
TextDrawAlignment(TDEditor_TD[2], 1);
TextDrawColor(TDEditor_TD[2], -1);
TextDrawUseBox(TDEditor_TD[2], 1);
TextDrawBoxColor(TDEditor_TD[2], 255);
TextDrawSetShadow(TDEditor_TD[2], 0);
TextDrawSetOutline(TDEditor_TD[2], 0);
TextDrawBackgroundColor(TDEditor_TD[2], 255);
TextDrawFont(TDEditor_TD[2], 1);
TextDrawSetProportional(TDEditor_TD[2], 1);
TextDrawSetShadow(TDEditor_TD[2], 0);
TDEditor_TD[3] = TextDrawCreate(304.399749, 170.586608, "Logar");
TextDrawLetterSize(TDEditor_TD[3], 0.400800, 1.600000);
TextDrawAlignment(TDEditor_TD[3], 1);
TextDrawColor(TDEditor_TD[3], -5963521);
TextDrawSetShadow(TDEditor_TD[3], 0);
TextDrawSetOutline(TDEditor_TD[3], 0);
TextDrawBackgroundColor(TDEditor_TD[3], 255);
TextDrawFont(TDEditor_TD[3], 3);
TextDrawSetProportional(TDEditor_TD[3], 1);
TextDrawSetShadow(TDEditor_TD[3], 0);
TDEditor_TD[4] = TextDrawCreate(296.399810, 203.440063, "Registro");
TextDrawLetterSize(TDEditor_TD[4], 0.402400, 1.600000);
TextDrawAlignment(TDEditor_TD[4], 1);
TextDrawColor(TDEditor_TD[4], -5963521);
TextDrawSetShadow(TDEditor_TD[4], 0);
TextDrawSetOutline(TDEditor_TD[4], 0);
TextDrawBackgroundColor(TDEditor_TD[4], 255);
TextDrawFont(TDEditor_TD[4], 3);
TextDrawSetProportional(TDEditor_TD[4], 1);
TextDrawSetShadow(TDEditor_TD[4], 0);
TDEditor_TD[5] = TextDrawCreate(309.999847, 238.533508, "Sair");
TextDrawLetterSize(TDEditor_TD[5], 0.400000, 1.600000);
TextDrawAlignment(TDEditor_TD[5], 1);
TextDrawColor(TDEditor_TD[5], -5963521);
TextDrawSetShadow(TDEditor_TD[5], -1);
TextDrawSetOutline(TDEditor_TD[5], 0);
TextDrawBackgroundColor(TDEditor_TD[5], 255);
TextDrawFont(TDEditor_TD[5], 3);
TextDrawSetProportional(TDEditor_TD[5], 1);
TextDrawSetShadow(TDEditor_TD[5], -1);
TDEditor_TD[6] = TextDrawCreate(271.799987, 141.466796, "Seja");
TextDrawLetterSize(TDEditor_TD[6], 0.400000, 1.600000);
TextDrawAlignment(TDEditor_TD[6], 1);
TextDrawColor(TDEditor_TD[6], -2147483393);
TextDrawSetShadow(TDEditor_TD[6], 0);
TextDrawSetOutline(TDEditor_TD[6], 0);
TextDrawBackgroundColor(TDEditor_TD[6], 255);
TextDrawFont(TDEditor_TD[6], 1);
TextDrawSetProportional(TDEditor_TD[6], 1);
TextDrawSetShadow(TDEditor_TD[6], 0);
TDEditor_TD[7] = TextDrawCreate(302.099884, 141.619949, "Bem");
TextDrawLetterSize(TDEditor_TD[7], 0.400000, 1.600000);
TextDrawAlignment(TDEditor_TD[7], 1);
TextDrawColor(TDEditor_TD[7], -2147483393);
TextDrawSetShadow(TDEditor_TD[7], 0);
TextDrawSetOutline(TDEditor_TD[7], 0);
TextDrawBackgroundColor(TDEditor_TD[7], 255);
TextDrawFont(TDEditor_TD[7], 1);
TextDrawSetProportional(TDEditor_TD[7], 1);
TextDrawSetShadow(TDEditor_TD[7], 0);
TDEditor_TD[8] = TextDrawCreate(329.999908, 141.466720, "-Vindo");
TextDrawLetterSize(TDEditor_TD[8], 0.400000, 1.600000);
TextDrawAlignment(TDEditor_TD[8], 1);
TextDrawColor(TDEditor_TD[8], -2147483393);
TextDrawSetShadow(TDEditor_TD[8], 0);
TextDrawSetOutline(TDEditor_TD[8], 0);
TextDrawBackgroundColor(TDEditor_TD[8], 255);
TextDrawFont(TDEditor_TD[8], 1);
TextDrawSetProportional(TDEditor_TD[8], 1);
TextDrawSetShadow(TDEditor_TD[8], 0);
TDEditor_TD[9] = TextDrawCreate(259.600097, 110.106674, "Cidade");
TextDrawLetterSize(TDEditor_TD[9], 0.400000, 1.600000);
TextDrawAlignment(TDEditor_TD[9], 1);
TextDrawColor(TDEditor_TD[9], -1);
TextDrawSetShadow(TDEditor_TD[9], 0);
TextDrawSetOutline(TDEditor_TD[9], 0);
TextDrawBackgroundColor(TDEditor_TD[9], 255);
TextDrawFont(TDEditor_TD[9], 2);
TextDrawSetProportional(TDEditor_TD[9], 1);
TextDrawSetShadow(TDEditor_TD[9], 0);
TDEditor_TD[10] = TextDrawCreate(294.000183, 121.306671, "Moderna");
TextDrawLetterSize(TDEditor_TD[10], 0.400000, 1.600000);
TextDrawAlignment(TDEditor_TD[10], 1);
TextDrawColor(TDEditor_TD[10], -1);
TextDrawSetShadow(TDEditor_TD[10], 0);
TextDrawSetOutline(TDEditor_TD[10], 0);
TextDrawBackgroundColor(TDEditor_TD[10], 255);
TextDrawFont(TDEditor_TD[10], 2);
TextDrawSetProportional(TDEditor_TD[10], 1);
TextDrawSetShadow(TDEditor_TD[10], 0);
TDEditor_TD[11] = TextDrawCreate(280.000183, 276.613433, "Bom");
TextDrawLetterSize(TDEditor_TD[11], 0.400000, 1.600000);
TextDrawAlignment(TDEditor_TD[11], 1);
TextDrawColor(TDEditor_TD[11], -1);
TextDrawSetShadow(TDEditor_TD[11], 0);
TextDrawSetOutline(TDEditor_TD[11], 0);
TextDrawBackgroundColor(TDEditor_TD[11], 255);
TextDrawFont(TDEditor_TD[11], 2);
TextDrawSetProportional(TDEditor_TD[11], 1);
TextDrawSetShadow(TDEditor_TD[11], 0);
TDEditor_TD[12] = TextDrawCreate(317.100158, 276.713409, "Jogo!");
TextDrawLetterSize(TDEditor_TD[12], 0.400000, 1.600000);
TextDrawAlignment(TDEditor_TD[12], 1);
TextDrawColor(TDEditor_TD[12], -1);
TextDrawSetShadow(TDEditor_TD[12], 0);
TextDrawSetOutline(TDEditor_TD[12], 0);
TextDrawBackgroundColor(TDEditor_TD[12], 255);
TextDrawFont(TDEditor_TD[12], 2);
TextDrawSetProportional(TDEditor_TD[12], 1);
TextDrawSetShadow(TDEditor_TD[12], 0);
return 1;
}
Re: Erro Ao Copilar -
GuiKommander - 25.01.2018
Vocк criou 12 Cйlulas, e quando vc cria automaticamente o Compilador reconhece de 0 a 11, entгo coloque 13, Que vai funcionar direitinho.
Exemplo: 100 Cйlulas
De 0 a 99 Quando for ponhar na prбtica.
@TOPIC
COLOQUE:
PHP код:
new Text:TDEditor_TD[13];
Re: Erro Ao Copilar -
SrCarequinha32 - 25.01.2018
Adiantou n
Re: Erro Ao Copilar -
GuilhermeW - 25.01.2018
Код:
new Text:TDEditor_TD[13];
Re: Erro Ao Copilar -
Marllun - 25.01.2018
PHP код:
new Text:TDEditor_TD[13];
public OnGameModeInit()
{
TDEditor_TD[0] = TextDrawCreate(272.400085, 203.440078, "box");
TextDrawLetterSize(TDEditor_TD[0], 0.000000, 2.080004);
TextDrawTextSize(TDEditor_TD[0], 371.000000, 0.000000);
TextDrawAlignment(TDEditor_TD[0], 1);
TextDrawColor(TDEditor_TD[0], -1);
TextDrawUseBox(TDEditor_TD[0], 1);
TextDrawBoxColor(TDEditor_TD[0], 255);
TextDrawSetShadow(TDEditor_TD[0], 0);
TextDrawSetOutline(TDEditor_TD[0], 0);
TextDrawBackgroundColor(TDEditor_TD[0], 255);
TextDrawFont(TDEditor_TD[0], 1);
TextDrawSetProportional(TDEditor_TD[0], 1);
TextDrawSetShadow(TDEditor_TD[0], 0);
TDEditor_TD[1] = TextDrawCreate(272.400024, 168.346969, "box");
TextDrawLetterSize(TDEditor_TD[1], 0.000000, 2.160001);
TextDrawTextSize(TDEditor_TD[1], 371.000000, 0.000000);
TextDrawAlignment(TDEditor_TD[1], 1);
TextDrawColor(TDEditor_TD[1], -1);
TextDrawUseBox(TDEditor_TD[1], 1);
TextDrawBoxColor(TDEditor_TD[1], 255);
TextDrawSetShadow(TDEditor_TD[1], 0);
TextDrawSetOutline(TDEditor_TD[1], 0);
TextDrawBackgroundColor(TDEditor_TD[1], 255);
TextDrawFont(TDEditor_TD[1], 1);
TextDrawSetProportional(TDEditor_TD[1], 1);
TextDrawSetShadow(TDEditor_TD[1], 0);
TDEditor_TD[2] = TextDrawCreate(272.400085, 237.040130, "box");
TextDrawLetterSize(TDEditor_TD[2], 0.000000, 2.160005);
TextDrawTextSize(TDEditor_TD[2], 372.000000, 0.000000);
TextDrawAlignment(TDEditor_TD[2], 1);
TextDrawColor(TDEditor_TD[2], -1);
TextDrawUseBox(TDEditor_TD[2], 1);
TextDrawBoxColor(TDEditor_TD[2], 255);
TextDrawSetShadow(TDEditor_TD[2], 0);
TextDrawSetOutline(TDEditor_TD[2], 0);
TextDrawBackgroundColor(TDEditor_TD[2], 255);
TextDrawFont(TDEditor_TD[2], 1);
TextDrawSetProportional(TDEditor_TD[2], 1);
TextDrawSetShadow(TDEditor_TD[2], 0);
TDEditor_TD[3] = TextDrawCreate(304.399749, 170.586608, "Logar");
TextDrawLetterSize(TDEditor_TD[3], 0.400800, 1.600000);
TextDrawAlignment(TDEditor_TD[3], 1);
TextDrawColor(TDEditor_TD[3], -5963521);
TextDrawSetShadow(TDEditor_TD[3], 0);
TextDrawSetOutline(TDEditor_TD[3], 0);
TextDrawBackgroundColor(TDEditor_TD[3], 255);
TextDrawFont(TDEditor_TD[3], 3);
TextDrawSetProportional(TDEditor_TD[3], 1);
TextDrawSetShadow(TDEditor_TD[3], 0);
TDEditor_TD[4] = TextDrawCreate(296.399810, 203.440063, "Registro");
TextDrawLetterSize(TDEditor_TD[4], 0.402400, 1.600000);
TextDrawAlignment(TDEditor_TD[4], 1);
TextDrawColor(TDEditor_TD[4], -5963521);
TextDrawSetShadow(TDEditor_TD[4], 0);
TextDrawSetOutline(TDEditor_TD[4], 0);
TextDrawBackgroundColor(TDEditor_TD[4], 255);
TextDrawFont(TDEditor_TD[4], 3);
TextDrawSetProportional(TDEditor_TD[4], 1);
TextDrawSetShadow(TDEditor_TD[4], 0);
TDEditor_TD[5] = TextDrawCreate(309.999847, 238.533508, "Sair");
TextDrawLetterSize(TDEditor_TD[5], 0.400000, 1.600000);
TextDrawAlignment(TDEditor_TD[5], 1);
TextDrawColor(TDEditor_TD[5], -5963521);
TextDrawSetShadow(TDEditor_TD[5], -1);
TextDrawSetOutline(TDEditor_TD[5], 0);
TextDrawBackgroundColor(TDEditor_TD[5], 255);
TextDrawFont(TDEditor_TD[5], 3);
TextDrawSetProportional(TDEditor_TD[5], 1);
TextDrawSetShadow(TDEditor_TD[5], -1);
TDEditor_TD[6] = TextDrawCreate(271.799987, 141.466796, "Seja");
TextDrawLetterSize(TDEditor_TD[6], 0.400000, 1.600000);
TextDrawAlignment(TDEditor_TD[6], 1);
TextDrawColor(TDEditor_TD[6], -2147483393);
TextDrawSetShadow(TDEditor_TD[6], 0);
TextDrawSetOutline(TDEditor_TD[6], 0);
TextDrawBackgroundColor(TDEditor_TD[6], 255);
TextDrawFont(TDEditor_TD[6], 1);
TextDrawSetProportional(TDEditor_TD[6], 1);
TextDrawSetShadow(TDEditor_TD[6], 0);
TDEditor_TD[7] = TextDrawCreate(302.099884, 141.619949, "Bem");
TextDrawLetterSize(TDEditor_TD[7], 0.400000, 1.600000);
TextDrawAlignment(TDEditor_TD[7], 1);
TextDrawColor(TDEditor_TD[7], -2147483393);
TextDrawSetShadow(TDEditor_TD[7], 0);
TextDrawSetOutline(TDEditor_TD[7], 0);
TextDrawBackgroundColor(TDEditor_TD[7], 255);
TextDrawFont(TDEditor_TD[7], 1);
TextDrawSetProportional(TDEditor_TD[7], 1);
TextDrawSetShadow(TDEditor_TD[7], 0);
TDEditor_TD[8] = TextDrawCreate(329.999908, 141.466720, "-Vindo");
TextDrawLetterSize(TDEditor_TD[8], 0.400000, 1.600000);
TextDrawAlignment(TDEditor_TD[8], 1);
TextDrawColor(TDEditor_TD[8], -2147483393);
TextDrawSetShadow(TDEditor_TD[8], 0);
TextDrawSetOutline(TDEditor_TD[8], 0);
TextDrawBackgroundColor(TDEditor_TD[8], 255);
TextDrawFont(TDEditor_TD[8], 1);
TextDrawSetProportional(TDEditor_TD[8], 1);
TextDrawSetShadow(TDEditor_TD[8], 0);
TDEditor_TD[9] = TextDrawCreate(259.600097, 110.106674, "Cidade");
TextDrawLetterSize(TDEditor_TD[9], 0.400000, 1.600000);
TextDrawAlignment(TDEditor_TD[9], 1);
TextDrawColor(TDEditor_TD[9], -1);
TextDrawSetShadow(TDEditor_TD[9], 0);
TextDrawSetOutline(TDEditor_TD[9], 0);
TextDrawBackgroundColor(TDEditor_TD[9], 255);
TextDrawFont(TDEditor_TD[9], 2);
TextDrawSetProportional(TDEditor_TD[9], 1);
TextDrawSetShadow(TDEditor_TD[9], 0);
TDEditor_TD[10] = TextDrawCreate(294.000183, 121.306671, "Moderna");
TextDrawLetterSize(TDEditor_TD[10], 0.400000, 1.600000);
TextDrawAlignment(TDEditor_TD[10], 1);
TextDrawColor(TDEditor_TD[10], -1);
TextDrawSetShadow(TDEditor_TD[10], 0);
TextDrawSetOutline(TDEditor_TD[10], 0);
TextDrawBackgroundColor(TDEditor_TD[10], 255);
TextDrawFont(TDEditor_TD[10], 2);
TextDrawSetProportional(TDEditor_TD[10], 1);
TextDrawSetShadow(TDEditor_TD[10], 0);
TDEditor_TD[11] = TextDrawCreate(280.000183, 276.613433, "Bom");
TextDrawLetterSize(TDEditor_TD[11], 0.400000, 1.600000);
TextDrawAlignment(TDEditor_TD[11], 1);
TextDrawColor(TDEditor_TD[11], -1);
TextDrawSetShadow(TDEditor_TD[11], 0);
TextDrawSetOutline(TDEditor_TD[11], 0);
TextDrawBackgroundColor(TDEditor_TD[11], 255);
TextDrawFont(TDEditor_TD[11], 2);
TextDrawSetProportional(TDEditor_TD[11], 1);
TextDrawSetShadow(TDEditor_TD[11], 0);
TDEditor_TD[12] = TextDrawCreate(317.100158, 276.713409, "Jogo!");
TextDrawLetterSize(TDEditor_TD[12], 0.400000, 1.600000);
TextDrawAlignment(TDEditor_TD[12], 1);
TextDrawColor(TDEditor_TD[12], -1);
TextDrawSetShadow(TDEditor_TD[12], 0);
TextDrawSetOutline(TDEditor_TD[12], 0);
TextDrawBackgroundColor(TDEditor_TD[12], 255);
TextDrawFont(TDEditor_TD[12], 2);
TextDrawSetProportional(TDEditor_TD[12], 1);
TextDrawSetShadow(TDEditor_TD[12], 0);
return 1;
}
Re: Erro Ao Copilar -
SrCarequinha32 - 25.01.2018
Resolvido obg pela ajuda