[Ajuda] O que esta mal?
#1

Eu criei um textdraw com um FS que tinha ai de criar, pus no pawn e dб erros. Se tiver alguma coisa mal me ajudem e ponham direito.

http://pastebin.com/yiZHncQi

Код:
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(219) : error 017: undefined symbol "MAX_PLAYERS"
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(14) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(15) : error 017: undefined symbol "MAX_PLAYERS"
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(15) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(16) : error 017: undefined symbol "MAX_PLAYERS"
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(16) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(18) : warning 235: public function lacks forward declaration (symbol "OnFilterScriptInit")
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(21) : error 017: undefined symbol "TextDrawCreate"
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(21) : warning 213: tag mismatch
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(22) : error 017: undefined symbol "TextDrawLetterSize"
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(23) : error 017: undefined symbol "TextDrawAlignment"
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(24) : error 017: undefined symbol "TextDrawColor"
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(25) : error 017: undefined symbol "TextDrawSetShadow"
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(26) : error 017: undefined symbol "TextDrawSetOutline"
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(27) : error 017: undefined symbol "TextDrawBackgroundColor"
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(28) : error 017: undefined symbol "TextDrawFont"
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(29) : error 017: undefined symbol "TextDrawSetProportional"
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(31) : error 017: undefined symbol "TextDrawCreate"
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(31) : warning 213: tag mismatch
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(32) : error 017: undefined symbol "TextDrawLetterSize"
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(33) : error 017: undefined symbol "TextDrawAlignment"
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(34) : error 017: undefined symbol "TextDrawColor"
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(35) : error 017: undefined symbol "TextDrawSetShadow"
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(36) : error 017: undefined symbol "TextDrawSetOutline"
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(37) : error 017: undefined symbol "TextDrawBackgroundColor"
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(38) : error 017: undefined symbol "TextDrawFont"
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(39) : error 017: undefined symbol "TextDrawSetProportional"
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(41) : error 017: undefined symbol "TextDrawCreate"
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(41) : warning 213: tag mismatch
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(42) : error 017: undefined symbol "TextDrawLetterSize"

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


26 Errors.
Reply
#2

Atualize-o.
Reply
#3

Colocou a include a_samp ?
Reply
#4

Faltava isso sim. Agora apareceu estes erros
http://pastebin.com/0jwrvuyG


Код:
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(209) : error 012: invalid function call, not a valid address
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(209) : warning 215: expression has no effect
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(209) : error 001: expected token: ";", but found ")"
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(209) : error 029: invalid expression, assumed zero
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(209) : fatal error 107: too many error messages on one line

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


4 Errors.
Reply
#5

Manda a linha 209, mas provavelmente estб faltando alguma vнrgula.
Reply
#6

http://pastebin.com/0jwrvuyG
esta ai o pawn
Reply
#7

Tб aн.

http://pastebin.com/TsUvU76Z
Reply
#8

Код:
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(127) : warning 217: loose indentation
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(145) : warning 217: loose indentation
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(215) : error 012: invalid function call, not a valid address
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(215) : warning 215: expression has no effect
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(215) : error 001: expected token: ";", but found ")"
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(215) : error 029: invalid expression, assumed zero
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(215) : fatal error 107: too many error messages on one line

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


4 Errors.
Reply
#9

Os 2 primeiros...
Код:
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(127) : warning 217: loose indentation
C:\Users\PedroD\Desktop\iPLEOMAX's TextDraw Editor\SAMP 0.3e Server\scriptfiles\TD_hud2.pwn(145) : warning 217: loose indentation
sгo de indentaзгo. Pesquisa depois sobre isso no ******.

Tб aн: http://pastebin.com/yJCW8gdM
Reply
#10

Код:
C:\Users\PedroD\Desktop\pen\filterscripts\hud2.pwn(210) : error 035: argument type mismatch (argument 1)
C:\Users\PedroD\Desktop\pen\filterscripts\hud2.pwn(210) : error 039: constant symbol has no size
C:\Users\PedroD\Desktop\pen\filterscripts\hud2.pwn(210) : warning 215: expression has no effect
C:\Users\PedroD\Desktop\pen\filterscripts\hud2.pwn(210) : error 001: expected token: ";", but found "]"
C:\Users\PedroD\Desktop\pen\filterscripts\hud2.pwn(210) : fatal error 107: too many error messages on one line

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


4 Errors.
http://pastebin.com/1xy919bg
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)