Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: [CH]Tegla poslato Januar 25, 2010, 07:20:26 PRE PODNE

Naslov: pomoc!! PLS
Poruka od: [CH]Tegla poslato Januar 25, 2010, 07:20:26 PRE PODNE
evo imam problem sa errorom jednim pa pogledajte ovu sliku


http://slike.hr/slike/error_09e79.jpg.html (http://slike.hr/slike/error_09e79.jpg.html)
Naslov: Odg: pomoc!! PLS
Poruka od: קlเשค poslato Januar 25, 2010, 10:40:07 PRE PODNE
Citat: [CH]Tegla poslato Januar 25, 2010, 07:20:26 PRE PODNE
evo imam problem sa errorom jednim pa pogledajte ovu sliku


http://slike.hr/slike/error_09e79.jpg.html (http://slike.hr/slike/error_09e79.jpg.html)
Pa procitaj sta ti pise kao error.I reci mi jel ti sta to znaci.
Naslov: Odg: pomoc!! PLS
Poruka od: [CH]Tegla poslato Januar 25, 2010, 10:51:59 PRE PODNE
pa pise da nemogu pricitati "a_objects"
Naslov: Odg: pomoc!! PLS
Poruka od: Gospodin poslato Januar 25, 2010, 10:56:41 PRE PODNE
Udji u Pawno pa u include i vidi dali imas a_objects
Naslov: Odg: pomoc!! PLS
Poruka od: [CH]Tegla poslato Januar 25, 2010, 10:59:17 PRE PODNE
da imam ih i onda idem compile pa pise eroor da nema a_sampdp pa onda ja to ubacim pa opet compile pa mi se pojavi 26errora i pise

npr.  C:\Documents and Settings\Teklić\Desktop\samp02Xserver.win32\gamemodes\gf.pwn(16038) : error 017: undefined symbol "ReturnUser"

ne kuzm????
Naslov: Odg: pomoc!! PLS
Poruka od: Gospodin poslato Januar 25, 2010, 11:13:21 PRE PODNE
Pa lool koliko ja vidim ovde ti si skinuo 0.2 samp server :D samp02Xserver.win32
Naslov: Odg: pomoc!! PLS
Poruka od: [CH]Tegla poslato Januar 25, 2010, 11:23:40 PRE PODNE
pa da radim prvo u 0.2x pa cu prebaciti u 0.3 sada sam isao prebaciti pa nisam uspio pa imam sada  errora
Naslov: Odg: pomoc!! PLS
Poruka od: Gospodin poslato Januar 25, 2010, 11:29:50 PRE PODNE
Sad udji u pawno i pokreni onaj pawno sto nema nista u njemu i kopiraj mod i COMPILE i nece ti biti error!!! ;D
Naslov: Odg: pomoc!! PLS
Poruka od: U.S.A poslato Januar 25, 2010, 17:40:10 POSLE PODNE
Evo (http://solidfiles.com/info_imgs/I87a.jpg) (http://solidfiles.com/d/I87a) skini i stavi u GM-Folder\pawno\include i trebalo bi ti raditi!!!

ae uzivaj Zz
Naslov: Odg: pomoc!! PLS
Poruka od: [CH]Tegla poslato Januar 25, 2010, 17:58:45 POSLE PODNE
,usa kako nekuzis imam ja sada to
Naslov: Odg: pomoc!! PLS
Poruka od: nastoe poslato Januar 26, 2010, 11:57:48 PRE PODNE
Mozda bug sa "strtok"

probaj ovaj kod staviti ispod objekata

return 1;
}

strtok(const string[], &index)
{
  new length = strlen(string);
  while ((index < length) && (string[index] <= ' '))
  {
     index++;
  }

  new offset = index;
  new result[20];
  while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
  {
     result[index - offset] = string[index];
     index++;
  }
  result[index - offset] = EOS;
  return result;
}


npr.

CreateObject(914, 1277.847168, 1711.601074, 14.109590, 0, 0, 89.9999813789); // object (41)
 return 1;
}

strtok(const string[], &index)
{
  new length = strlen(string);
  while ((index < length) && (string[index] <= ' '))
  {
     index++;
  }

  new offset = index;
  new result[20];
  while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
  {
     result[index - offset] = string[index];
     index++;
  }
  result[index - offset] = EOS;
  return result;
}

Takav je problem mene mucio kada sam to stavio sve je radilo ;) sretno