SA-MP Forums Archive
Errors in compilation / erros na compilaзгo - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Errors in compilation / erros na compilaзгo (/showthread.php?tid=403825)



Errors in compilation / erros na compilaзгo - Estevao - 31.12.2012

C:\Users\acer\Desktop\Estevгo.pwn(1580) : error 029: invalid expression, assumed zero
C:\Users\acer\Desktop\Estevгo.pwn(1580) : warning 215: expression has no effect
C:\Users\acer\Desktop\Estevгo.pwn(1580) : error 001: expected token: ";", but found ")"
C:\Users\acer\Desktop\Estevгo.pwn(1580) : error 029: invalid expression, assumed zero
C:\Users\acer\Desktop\Estevгo.pwn(1580) : fatal error 107: too many error messages on one line

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


4 Errors.


Код:
	TextDrawFont(NEW,3);



Re: Errors in compilation / erros na compilaзгo - RedCrossER - 31.12.2012

Please show us the code of the few lines


Re: Errors in compilation / erros na compilaзгo - ThePhenix - 31.12.2012

You forgot to close something with ";"


Re: Errors in compilation / erros na compilaзгo - Estevao - 31.12.2012

topblack = TextDrawCreate(1.000000,-70.000000,"__");
bottomblack = TextDrawCreate(-2.000000,400.000000,"__");
TextDrawUseBox(topblack,1);
TextDrawBoxColor(topblack,0x000000ff);
TextDrawTextSize(topblack,655.000000,80.000000);
TextDrawUseBox(bottomblack,1);
TextDrawBoxColor(bottomblack,0x000000ff);
TextDrawTextSize(bottomblack,840.000000,240.000000 );
TextDrawAlignment(topblack,0);
TextDrawAlignment(bottomblack,0);
NEW TextDrawCreate(250.000000,152.000000," ~p~Bem Vindo ");
TextDrawFont(NEW,3);
TextDrawColor(NEW,0x00D736AA);
TextDrawLetterSize(NEW,1.079999,4.09999;
WORLD = TextDrawCreate(306.000000,192.000000,"~y~Agradecem os sua preferкncia");
TextDrawFont(WORLD,3);
TextDrawColor(WORLD,0x0080FFAA);
TextDrawLetterSize(WORLD,1.079999,4.09999;
RPG = TextDrawCreate(255.000000,235.000000,"~r~Jogue E Ganhe Level 20 E Estudo 20");
TextDrawFont(RPG,3);
TextDrawColor(RPG,0xFFFFFFAA);
TextDrawLetterSize(RPG,1.079999,4.09999;