[Pomoc] Nesto fali.

Započeo slasher
6. Jul 2013. Zaključano
381
pregleda
7
postova
Stelioz
5
Underboss
6. Jul 2013.
Skripta koju koristim: RAS
Detaljan opis problema: Izbacuje mi ovaj error al ne kontam sta hoce da mi kaze
D:\Samp gamemodes\RAS\gamemodes\RAS.pwn(10242) : error 036: empty statement
. Svi errori
D:\Samp gamemodes\RAS\gamemodes\RAS.pwn(10242) : error 021: symbol already defined: "it"
D:\Samp gamemodes\RAS\gamemodes\RAS.pwn(10242) : error 036: empty statement
D:\Samp gamemodes\RAS\gamemodes\RAS.pwn(10240) : error 010: invalid function or declaration
D:\Samp gamemodes\RAS\gamemodes\RAS.pwn(10240 -- 10246) : fatal error 107: too many error messages on one line

Dio skripte:
stock CountZCMDCmds()
{
  new cmdBuffer, commandCount;

  for(new it = 0, it < Scripting_GetPublicsCount() it++);
  }
      Scripting_GetPublicCount(it, cmdBuffer);

      if(!strcmp(cmdBuffer, "cmd_", false, 4)) { commandCount++; }
  {

  return commandCount;

Linija u kojoj je error:
for(new it = 32, it < Scripting_GetPublicsCount() it++);

Neke slike/video za lakse dobivanje pomoci(neobavezno): /
Deleted User
Obrisan korisnik
6. Jul 2013.
stock CountZCMDCmds()
{
  new cmdBuffer, commandCount;

  for(new it = 0; it < Scripting_GetPublicsCount(); it++);
  }
      Scripting_GetPublicCount(it, cmdBuffer);

      if(!strcmp(cmdBuffer, "cmd_", false, 4)) { commandCount++; }
  {

  return commandCount;
Stelioz
5
Underboss
6. Jul 2013.
A nece tako. Izbacuje ove errore
D:\Samp gamemodes\RAS\gamemodes\RAS.pwn(10242) : error 029: invalid expression, assumed zero
D:\Samp gamemodes\RAS\gamemodes\RAS.pwn(10242) : error 001: expected token: ")", but found ";"
D:\Samp gamemodes\RAS\gamemodes\RAS.pwn(10242) : error 001: expected token: ";", but found ")"


Al kad sve zamenim kako pise, opet izbacuje one prve errore  😐
Deleted User
Obrisan korisnik
6. Jul 2013.
Billy wrote on July 6, 2013, 6:48 am:
A nece tako. Izbacuje ove errore
D:\Samp gamemodes\RAS\gamemodes\RAS.pwn(10242) : error 029: invalid expression, assumed zero
D:\Samp gamemodes\RAS\gamemodes\RAS.pwn(10242) : error 001: expected token: ")", but found ";"
D:\Samp gamemodes\RAS\gamemodes\RAS.pwn(10242) : error 001: expected token: ";", but found ")"


Al kad sve zamenim kako pise, opet izbacuje one prve errore  😐

Nisam bas sve gledao neke zagrade i nisam obrisao tvoj ; na kraju fora posto ne treba
stock CountZCMDCmds()
{
  new cmdBuffer, commandCount;

  for(new it = 0; it < Scripting_GetPublicsCount(); it++)
  {
      Scripting_GetPublicCount(it, cmdBuffer);

      if(!strcmp(cmdBuffer, "cmd_", false, 4)) { commandCount++; }
  }

  return commandCount;
}
Stelioz
5
Underboss
6. Jul 2013.
Quote from July 6, 2013, 6:48 am:
A nece tako. Izbacuje ove errore
D:\Samp gamemodes\RAS\gamemodes\RAS.pwn(10242) : error 029: invalid expression, assumed zero
D:\Samp gamemodes\RAS\gamemodes\RAS.pwn(10242) : error 001: expected token: ")", but found ";"
D:\Samp gamemodes\RAS\gamemodes\RAS.pwn(10242) : error 001: expected token: ";", but found ")"


Al kad sve zamenim kako pise, opet izbacuje one prve errore  😐

Nisam bas sve gledao neke zagrade i nisam obrisao tvoj ; na kraju fora posto ne treba
stock CountZCMDCmds()
{
  new cmdBuffer, commandCount;

  for(new it = 0; it < Scripting_GetPublicsCount(); it++)
  {
      Scripting_GetPublicCount(it, cmdBuffer);

      if(!strcmp(cmdBuffer, "cmd_", false, 4)) { commandCount++; }
  }

  return commandCount;
}


Opet baca iste errore  😐
Deleted User
Obrisan korisnik
6. Jul 2013.
Billy wrote on July 6, 2013, 6:48 am:
A nece tako. Izbacuje ove errore
D:\Samp gamemodes\RAS\gamemodes\RAS.pwn(10242) : error 029: invalid expression, assumed zero
D:\Samp gamemodes\RAS\gamemodes\RAS.pwn(10242) : error 001: expected token: ")", but found ";"
D:\Samp gamemodes\RAS\gamemodes\RAS.pwn(10242) : error 001: expected token: ";", but found ")"


Al kad sve zamenim kako pise, opet izbacuje one prve errore  😐

Nisam bas sve gledao neke zagrade i nisam obrisao tvoj ; na kraju fora posto ne treba
stock CountZCMDCmds()
{
  new cmdBuffer, commandCount;

  for(new it = 0; it < Scripting_GetPublicsCount(); it++)
  {
      Scripting_GetPublicCount(it, cmdBuffer);

      if(!strcmp(cmdBuffer, "cmd_", false, 4)) { commandCount++; }
  }

  return commandCount;
}


Opet baca iste errore  😐

Sada sam ja probao i meni sve ok bez errora
Stelioz
5
Underboss
6. Jul 2013.
Quote from July 6, 2013, 6:48 am:
A nece tako. Izbacuje ove errore
D:\Samp gamemodes\RAS\gamemodes\RAS.pwn(10242) : error 029: invalid expression, assumed zero
D:\Samp gamemodes\RAS\gamemodes\RAS.pwn(10242) : error 001: expected token: ")", but found ";"
D:\Samp gamemodes\RAS\gamemodes\RAS.pwn(10242) : error 001: expected token: ";", but found ")"


Al kad sve zamenim kako pise, opet izbacuje one prve errore  😐

Nisam bas sve gledao neke zagrade i nisam obrisao tvoj ; na kraju fora posto ne treba
stock CountZCMDCmds()
{
  new cmdBuffer, commandCount;

  for(new it = 0; it < Scripting_GetPublicsCount(); it++)
  {
      Scripting_GetPublicCount(it, cmdBuffer);

      if(!strcmp(cmdBuffer, "cmd_", false, 4)) { commandCount++; }
  }

  return commandCount;
}


Opet baca iste errore  😐

Sada sam ja probao i meni sve ok bez errora

Nemoguce da kod tebe radi bez problema a kod mene baca errore  🙄

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha