Detaljan opis problema: Do sada sam editovao GF, i odjednom kompilam, izbaci 4 greske. Koristio sam undo ali nisam pronasao tu gresku koju sam napravio, stoga molim za pomoc. Evo greske:
C:\Documents and Settings\Pro Gamer\Desktop\Test Mode\gamemodes\test-mode.pwn(41210) : error 017: undefined symbol "FishNames"
C:\Documents and Settings\Pro Gamer\Desktop\Test Mode\gamemodes\test-mode.pwn(41210) : warning 215: expression has no effect
C:\Documents and Settings\Pro Gamer\Desktop\Test Mode\gamemodes\test-mode.pwn(41210) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Pro Gamer\Desktop\Test Mode\gamemodes\test-mode.pwn(41210) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Pro Gamer\Desktop\Test Mode\gamemodes\test-mode.pwn(41210) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Dio skripte:
if(Fishes == 0)
{
PlayerInfo += 1;
PlayerInfo += 1;
format(fstring, sizeof(fstring), "%s", FishNames);
strmid(Fishes, fstring, 0, strlen(fstring), 255);
Fishes = Caught;
format(string, sizeof(string), "* Uhvatili ste %s, koja je teska %d Kg.", Fishes, Caught);
SendClientMessage(playerid, COLOR_WHITE, string);
Fishes = Caught;
Fishes = 1;
Fishes = rand;
Fishes = rand;
if(Caught > PlayerInfo)Neke slike/video za lakse dobivanje pomoci(neobavezno):
Ovo je ta linija: format(fstring, sizeof(fstring), "%s", FishNames);
