EROR

Započeo Marko_Derdic, April 11, 2023, 00:10:34 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Na kojem uredaju se desava problem:pwano
Slika/Video problema: https://ibb.co/28vjyPZ
Koliko je problem prisutan:/
Kojom metodom ste pokušali otkloniti problem:gledo sam na google al nije pomoglo
Obrazložite svoj problem:kada compile izbaci mi 4 erora
erori:(13721) :error 001: expected token: ",", but found "["     (13721) :error 029: invalid expression, assumed zero          (13721) :error 001: expected token: ";", but found "]"     (13721) :fatal error 107: too many error messages on one


KOD: stock DestroyPlayerTextDraws( playerid ) {

   if( ShowedRegister[ playerid ] == true ) {
       for( new i = 0; i < 63; i ++) {
         PlayerTextDrawHide( playerid, LeviyzREG[ playerid ][ i ] );
         PlayerTextDrawDestroy( playerid, LeviyzREG[ playerid ][ i ] );
         LeviyzREG[ playerid ][ i ] = PlayerText:INVALID_TEXT_DRAW;
      }

      ShowedRegister[ playerid ] = false;
   }

Probaj ovo

[pawn]stock DestroyPlayerTextDraws( playerid )

   if( ShowedRegister[ playerid ] == true ) {
       for( new i = 0; i < 63; i ++) {
         PlayerTextDrawHide( playerid, LeviyzREG[ playerid ][ i ] );
         PlayerTextDrawDestroy( playerid, LeviyzREG[ playerid ][ i ] );
         LeviyzREG[ playerid ][ i ] = PlayerText:INVALID_TEXT_DRAW;
      }

      ShowedRegister[ playerid ] = false;
   }[/pawn]

Nece ni to isti isti erori @R'

Citat: Marko_Derdic poslato April 11, 2023, 00:27:08 PRE PODNE
Nece ni to isti isti erori @R'

[pawn]stock DestroyPlayerTextDraws( playerid )
{

   if( ShowedRegister[ playerid ] == true ) {
       for( new i = 0; i < 63; i ++) {
         PlayerTextDrawHide( playerid, LeviyzREG[ playerid ][ i ] );
         PlayerTextDrawDestroy( playerid, LeviyzREG[ playerid ][ i ] );
         LeviyzREG[ playerid ][ i ] = PlayerText:INVALID_TEXT_DRAW;
      }

      ShowedRegister[ playerid ] = false;
   }
}   [/pawn]

isto el imas discord da mi das pa cu ti dam ovaj mode pa mi fixas ak mozes

Citat: Marko_Derdic poslato April 11, 2023, 00:33:51 PRE PODNE
isto el imas discord da mi das pa cu ti dam ovaj mode pa mi fixas ak mozes
Dodaj haj, urfav#6835 neces mi nista slati resicemo

dodo sam te ja sam salty