Pomoc oko komande /bojatd

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

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

(osma) : error 021: symbol already defined: "SMLinija"
__terzic270__textdraws (7).pwn(232) : error 017: undefined symbol "Prikazani_Tdovi"
__terzic270__textdraws (7).pwn(232) : warning 215: expression has no effect
__terzic270__textdraws (7).pwn(232) : error 001: expected token: ";", but found "]"
__terzic270__textdraws (7).pwn(232) : error 029: invalid expression, assumed zero
__terzic270__textdraws (7).pwn(232) : 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.
public OnPlayerSpawn(playerid)
{
232 linija   if(Prikazani_Tdovi[playerid] == false)
   {
       for(new p = 0; p < 7; p++) TextDrawShowForPlayer(playerid, SMLinija[p]);
       PlayerTextDrawShow(playerid, SMLinija[playerid][0]);
       PlayerTextDrawShow(playerid, SMLinija[playerid][1]);
       PlayerTextDrawShow(playerid, SMLinija[playerid][2]);
       Prikazani_Tdovi[playerid] = true;
   }
   return (true);
}

Citat: Luka_Deen poslato Februar 04, 2019, 15:22:49 POSLE PODNE
(osma) : error 021: symbol already defined: "SMLinija"
__terzic270__textdraws (7).pwn(232) : error 017: undefined symbol "Prikazani_Tdovi"
__terzic270__textdraws (7).pwn(232) : warning 215: expression has no effect
__terzic270__textdraws (7).pwn(232) : error 001: expected token: ";", but found "]"
__terzic270__textdraws (7).pwn(232) : error 029: invalid expression, assumed zero
__terzic270__textdraws (7).pwn(232) : 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.
public OnPlayerSpawn(playerid)
{
232 linija   if(Prikazani_Tdovi[playerid] == false)
   {
       for(new p = 0; p < 7; p++) TextDrawShowForPlayer(playerid, SMLinija[p]);
       PlayerTextDrawShow(playerid, SMLinija[playerid][0]);
       PlayerTextDrawShow(playerid, SMLinija[playerid][1]);
       PlayerTextDrawShow(playerid, SMLinija[playerid][2]);
       Prikazani_Tdovi[playerid] = true;
   }
   return (true);
}
Mislio sam da izbrises to

if(Prikazani_Tdovi[playerid] == false)