[Pomoc] errora/warn

Započeo El Toni, Jun 14, 2011, 21:12:24 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: Novi Mod
Detaljan opis problema: pravim register system od ovaj Velko sta je stavio tut u tutorialima i pod OnPlayerConect sam stavio ovo gPlayerLogged[playerid] = 0;  
   new name[MAX_PLAYER_NAME], file[256];  
   GetPlayerName(playerid, name, sizeof(name));  
   format(file, sizeof(file), SERVER_USER_FILE, name);  
   if (!dini_Exists(file))  
   {  
       ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT, "Niste registrirani", "[VilkoSys]Dobrodosli, niste registrirani. Molim registrirajte se za daljnju igru", "Register", "Leave");  
   }  
   if(fexist(file))  
   {  
       ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT, "Vi ste registrirani", "[VilkoSys]Dobrodosli, vi ste registrirani. Logirajte se", "Login", "Leave");  
   }  
  return 1;  
}
i izbacio mi sledeci errora/warn..kako da ih popravim  C:\Documents and Settings\Antonio\Desktop\moj server\mkgigov.pwn(80) : error 010: invalid function or declaration
C:\Documents and Settings\Antonio\Desktop\moj server\mkgigov.pwn(82) : error 021: symbol already defined: "GetPlayerName"
C:\Documents and Settings\Antonio\Desktop\moj server\mkgigov.pwn(84) : error 010: invalid function or declaration
C:\Documents and Settings\Antonio\Desktop\moj server\mkgigov.pwn(88) : error 010: invalid function or declaration
C:\Documents and Settings\Antonio\Desktop\moj server\mkgigov.pwn(92) : error 010: invalid function or declaration
C:\Documents and Settings\Antonio\Desktop\moj server\mkgigov.pwn(267) : warning 203: symbol is never used: "file"
C:\Documents and Settings\Antonio\Desktop\moj server\mkgigov.pwn(267) : warning 203: symbol is never used: "name"

Dio skripte: evo link iz tut http://balkan-samp.com/forum/index.php?topic=17264.0
Neke slike/video za lakse dobivanje pomoci(neobavezno):

Izgleda da sam se dzabe mucija kt nekoj neume da ga koristi search tool :@ http://balkan-samp.com/forum/index.php?topic=26756.0

Citat: Mario Velickovski poslato Jun 14, 2011, 21:53:13 POSLE PODNE
Izgleda da sam se dzabe mucija kt nekoj neume da ga koristi search tool :@ http://balkan-samp.com/forum/index.php?topic=26756.0
Nevidim u tvom TuT-u objasnjen   invalid function or declaration.
Red 267 obriši zato sto ti to nesluzi nicemu.

sve sam uradio po tut na ovaj vilko ali izasli mi 15errora kako da ih sredim nemogu nikako 20puta sam od novo radio i nece...pls pomoc pls

Citat: Gigov.so poslato Jun 15, 2011, 15:05:47 POSLE PODNE
sve sam uradio po tut na ovaj vilko ali izasli mi 15errora kako da ih sredim nemogu nikako 20puta sam od novo radio i nece...pls pomoc pls
Postas erore i linije tih erora.
ako su to oni gore erori obrisi 267 red i postaj redove koji je koji za ostale.

uf zaboravio sam da stavim errore evo ih..

C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(75) : error 010: invalid function or declaration
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(78) : error 010: invalid function or declaration
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(82) : error 010: invalid function or declaration
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(86) : error 010: invalid function or declaration
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(92) : error 021: symbol already defined: "GetPlayerName"
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(94) : error 010: invalid function or declaration
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(96) : error 021: symbol already defined: "dini_IntSet"
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(97) : error 021: symbol already defined: "dini_IntSet"
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(98) : error 021: symbol already defined: "dini_IntSet"
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(266) : error 021: symbol already defined: "OnDialogResponse"
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(271) : error 017: undefined symbol "SERVER_USER_FILE"
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(277) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(277) : warning 215: expression has no effect
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(277) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(277) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(277) : fatal error 107: too many error messages on one line

Citat: Gigov.so poslato Jun 15, 2011, 15:26:42 POSLE PODNE
uf zaboravio sam da stavim errore evo ih..

C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(75) : error 010: invalid function or declaration
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(78) : error 010: invalid function or declaration
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(82) : error 010: invalid function or declaration
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(86) : error 010: invalid function or declaration
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(92) : error 021: symbol already defined: "GetPlayerName"
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(94) : error 010: invalid function or declaration
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(96) : error 021: symbol already defined: "dini_IntSet"
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(97) : error 021: symbol already defined: "dini_IntSet"
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(98) : error 021: symbol already defined: "dini_IntSet"
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(266) : error 021: symbol already defined: "OnDialogResponse"
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(271) : error 017: undefined symbol "SERVER_USER_FILE"
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(277) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(277) : warning 215: expression has no effect
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(277) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(277) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Antonio\Desktop\moj server\gamemodes\rp.pwn(277) : fatal error 107: too many error messages on one line

ponovi tut, sve je u tutu dobro samo ti nisi dobro radio, kao na primjer undefined symbol "SERVER_USER_FILE, to tamo lijepo stoji!
Uskoro novi stunt server iStunt. DoÄ'ite i zabavite se!




   
   




Dizajniram za $$$
Popis stvari koje radim:

Wallpaper √  Signature ×  Logo √  Dizajn stranice (Ne kodiranje) √  Baner √  Avatar √  Animacija √  Intro √