Pomoc oko komande /bojatd

Započeo Luka_Deen, Februar 04, 2019, 13:52:09 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Problem(error/warning): error i warning
Dio skripte: [ pawn ]\__terzic270__textdraws (7).pwn(16) : error 017: undefined symbol "SMLinija"
__terzic270__textdraws (7).pwn(16) : warning 215: expression has no effect
\__terzic270__textdraws (7).pwn(16) : error 001: expected token: ";", but found "]"
\__terzic270__textdraws (7).pwn(16) : error 029: invalid expression, assumed zero
\__terzic270__textdraws (7).pwn(16) : fatal error 107: too many error messages on one line[ /pawn ]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]nije ig[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem): https://imgur.com/a/L0YO03O

new Text:SMLinija[0];

credits: Xunder, Ino420, Muma

Citat: Pottus;3903994
SetPlayerPos("dreni1998", 666.666, 666.666, 666.666, 666.666);    ///// GO IN HELL MOTHERFUCKER

https://i.imgur.com/XHLx9oj.gif
https://i.ibb.co/ZJqQKWT/NXRX.gif

terzic270__textdraws (7).pwn(8) : error 009: invalid array size (negative, zero or out of bounds)
\__terzic270__textdraws (7).pwn(227) : warning 217: loose indentation
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase
napravio sam to kako sad ovo?
new Text:SMLinija[0], PlayerText:INGAME_PTD[MAX_PLAYERS][3],
na ovoj liniji
i kad promjenim ovaj PlayerText:INGAME_PTD ima 5 erora nekih sugavih onda
Poslednja Izmena: Februar 04, 2019, 14:15:19 POSLE PODNE od Luka_Deen

Kolko imas todova SMLinija? posalji mi sve tdove

credits: Xunder, Ino420, Muma

Citat: Pottus;3903994
SetPlayerPos("dreni1998", 666.666, 666.666, 666.666, 666.666);    ///// GO IN HELL MOTHERFUCKER

https://i.imgur.com/XHLx9oj.gif
https://i.ibb.co/ZJqQKWT/NXRX.gif


stavio sam samo koliko ih ima 21 sve ukupno i sad mi radi new Text:SMLinija[21]

\__terzic270__textdraws (7).pwn(osam) : error 021: symbol already defined: "SMLinija"
\__terzic270__textdraws (7).pwn(243) : warning 213: tag mismatch
\__terzic270__textdraws (7).pwn(243) : error 001: expected token: ",", but found "["
\__terzic270__textdraws (7).pwn(243) : error 029: invalid expression, assumed zero
\__terzic270__textdraws (7).pwn(243) : warning 215: expression has no effect
\__terzic270__textdraws (7).pwn(243) : error 001: expected token: ";", but found "]"
\__terzic270__textdraws (7).pwn(243) : fatal error 107: too many error messages on one line

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


5 Errors.
Sad sam samo one INGAME_PTD promjenio u SMLinija i ovo mi se pojavljuje
PlayerTextDrawShow(playerid, SMLinija[playerid][0]); to je 243 linija
new Text:SMLinija[21], PlayerText:SMLinija[MAX_PLAYERS][3], osma linija
Poslednja Izmena: Februar 04, 2019, 14:24:38 POSLE PODNE od Luka_Deen

Citat: Luka_Deen poslato Februar 04, 2019, 14:22:50 POSLE PODNE
\__terzic270__textdraws (7).pwn(osam) : error 021: symbol already defined: "SMLinija"
\__terzic270__textdraws (7).pwn(243) : warning 213: tag mismatch
\__terzic270__textdraws (7).pwn(243) : error 001: expected token: ",", but found "["
\__terzic270__textdraws (7).pwn(243) : error 029: invalid expression, assumed zero
\__terzic270__textdraws (7).pwn(243) : warning 215: expression has no effect
\__terzic270__textdraws (7).pwn(243) : error 001: expected token: ";", but found "]"
\__terzic270__textdraws (7).pwn(243) : fatal error 107: too many error messages on one line

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

5 Errors.
Sad sam samo one INGAME_PTD promjenio u SMLinija i ovo mi se pojavljuje
PlayerTextDrawShow(playerid, SMLinija[playerid][0]); to je 243 linija
new Text:SMLinija[21], PlayerText:SMLinija[MAX_PLAYERS][3], osma linija
stavi 22, ako imas 21 td
new Text:SMLinija[22];




Citat: Luka_Deen poslato Februar 04, 2019, 14:22:50 POSLE PODNE
\__terzic270__textdraws (7).pwn(osam) : error 021: symbol already defined: "SMLinija"
\__terzic270__textdraws (7).pwn(243) : warning 213: tag mismatch
\__terzic270__textdraws (7).pwn(243) : error 001: expected token: ",", but found "["
\__terzic270__textdraws (7).pwn(243) : error 029: invalid expression, assumed zero
\__terzic270__textdraws (7).pwn(243) : warning 215: expression has no effect
\__terzic270__textdraws (7).pwn(243) : error 001: expected token: ";", but found "]"
\__terzic270__textdraws (7).pwn(243) : fatal error 107: too many error messages on one line

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



5 Errors.
Sad sam samo one INGAME_PTD promjenio u SMLinija i ovo mi se pojavljuje
PlayerTextDrawShow(playerid, SMLinija[playerid][0]); to je 243 linija
new Text:SMLinija[21], PlayerText:SMLinija[MAX_PLAYERS][3], osma linija
new Text:SMLinija[21], PlayerText:SMLinija[MAX_PLAYERS][3]
, osma linija
zaboravio si da dodas ; na kraju

new Text:SMLinija[21], PlayerText:SMLinija[MAX_PLAYERS][3];
, osma linija

osma) : error 021: symbol already defined: "SMLinija"
\__terzic270__textdraws (7).pwn(233) : error 017: undefined symbol "Prikazani_Tdovi"
__terzic270__textdraws (7).pwn(233) : warning 215: expression has no effect
__terzic270__textdraws (7).pwn(233) : error 001: expected token: ";", but found "]"
__terzic270__textdraws (7).pwn(233) : error 029: invalid expression, assumed zero
__terzic270__textdraws (7).pwn(233) : fatal error 107: too many error messages on one line
eto 233 je sad problem
233 je ovo Prikazani_Tdovi[playerid] = false;

public OnPlayerConnect(playerid)
{

   Prikazani_Tdovi[playerid] = false;
   //--------------------------------------------------------------------------
   return (true);
}
neznam da izbrisem ovo to je ta linija? 233 ovo Prikazani_Tdovi[playerid] = false;