Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2011-08-17, 15:33


zigimaka

OoZoOmP






Wiek: 31
Na forum: 5595 dni
Posty: 71
Nick w MP: Mateusz_Szymkowiak

Piwa: 43

Respekt: 60

Kod:

C:\Documents and Settings\Admin\Pulpit\pawno\include\sscanf2.inc(27) : error 021: symbol already defined: "sscanf"
C:\Documents and Settings\Admin\Pulpit\pawno\include\sscanf2.inc(28) : error 021: symbol already defined: "unformat"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.


Jak to naprawi? ?

[ Dodano: 2011-08-17, 15:39 ]
Kod:

C:\Documents and Settings\Admin\Pulpit\pawno\p.pwn(1767) : error 017: undefined symbol "Inst"
C:\Documents and Settings\Admin\Pulpit\pawno\p.pwn(1767) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Admin\Pulpit\pawno\p.pwn(10359) : error 017: undefined symbol "Inst"
C:\Documents and Settings\Admin\Pulpit\pawno\p.pwn(10359) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.

o to linijki


1767-
Kod:

Inst::OnPlayerConnect(playerid);



10359-
Kod:

Inst::OnPlayerKeyStateChange(playerid, newkeys, oldkeys);


Postaw piwo autorowi tego posta
 

 
Wysłany: 2011-08-18, 19:59


pat5055







Wiek: 26
Na forum: 5806 dni
Posty: 24
Nick w MP: ---

Piwa: 841

Respekt: 59,6

Mi si? wydaje, i? zamiast
Kod:

Inst::OnPlayer....

Powinno by?
Kod:

public OnPlayer...


Postaw piwo autorowi tego posta
 

 
Wysłany: 2011-08-22, 16:29


Cz3chu

Szary człowiek






Wiek: 28
Na forum: 5948 dni
Posty: 239
Nick w MP: Czechu

Piwa: 174

Respekt: 54,3

Kod:

C:\GRY\Gta\serv\pawno\lvdm.pwn(2246) : warning 225: unreachable code
C:\GRY\Gta\serv\pawno\lvdm.pwn(2280) : error 021: symbol already defined: "OnDialogResponse"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



2280


Kod:

{


Postaw piwo autorowi tego posta
 

 
Wysłany: 2011-08-22, 17:48


Zmyslak







Wiek: 29
Na forum: 6628 dni
Posty: 49

Piwa: 589

Respekt: 60,9

pastebin.com

i wklejasz

ca?? map? (chyba ?e wa?na to linijki od ok. 2230 do 2285)

Postaw piwo autorowi tego posta
 

 
Wysłany: 2011-08-22, 17:56


Cz3chu

Szary człowiek






Wiek: 28
Na forum: 5948 dni
Posty: 239
Nick w MP: Czechu

Piwa: 174

Respekt: 54,3

Postaw piwo autorowi tego posta
 

 
Wysłany: 2011-08-22, 22:05


Robert007







Wiek: 35
Na forum: 6714 dni
Posty: 223

Piwa: 11851

Respekt: 70

Kod:

unreachable code


Jak sam b??d wskazuj?. Usu? return w tej linijce lub ten wy?ej.

Podpis
Jak sie masz
?
Postaw piwo autorowi tego posta
 

 
Wysłany: 2011-08-22, 22:23


Cz3chu

Szary człowiek






Wiek: 28
Na forum: 5948 dni
Posty: 239
Nick w MP: Czechu

Piwa: 174

Respekt: 54,3

a error>?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2011-08-23, 16:32


Redox1133

Fan PAWN






Wiek: 31
Na forum: 6772 dni
Posty: 63

Piwa: 720

Respekt: 67

Zapewne masz dwa razy w gamemodzie/skrypcie callback OnDialogResponse, usu? jeden z nich, przenosz?c dane.

Cytat:

symbol already defined
Zawsze jak b?dziesz mia? jaki? error, postaraj si? go najpierw przet?umaczy? na polski, wiele to wyja?ni.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2011-08-27, 18:11


Dominik354657







Wiek: 41
Na forum: 6229 dni
Posty: 19



Respekt: 50

C:\Documents and Settings\nie wazne\samp server 0.3c\gamemodes\grandlarc.pwn(350) : error 029: invalid expression, assumed zero
C:\Documents and Settings\nie wazne\samp server 0.3c\gamemodes\grandlarc.pwn(350) : error 017: undefined symbol "playerid"
C:\Documents and Settings\nie wazne\samp server 0.3c\gamemodes\grandlarc.pwn(350) : error 029: invalid expression, assumed zero
C:\Documents and Settings\nie wazne\samp server 0.3c\gamemodes\grandlarc.pwn(350) : 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.

Jestem slaby w pawn, nie ?mia? si? ;D

A oto kod:
Kod:

public OnPlayerCommandText(playerid, cmdtext[]);
{
if (strcmp("/solo", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid, 1882.3140, -1402.0904, 13.5703);
SendClientMessage(playerid,0x33AA33AA,"WITAJ NA SOLO");
return 1;
}
return 0;
}


Postaw piwo autorowi tego posta
 

 
Wysłany: 2011-08-27, 21:41


MG303







Wiek: 30
Na forum: 6419 dni
Posty: 654

Piwa: 2990

Respekt: 231,6
Respekt: 231,6Respekt: 231,6

Ten kod masz w mapie czy w skrypcie?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2011-08-27, 21:55


Dominik354657







Wiek: 41
Na forum: 6229 dni
Posty: 19



Respekt: 50

W mapie ;)

Postaw piwo autorowi tego posta
 

 
Wysłany: 2011-08-27, 22:21


MG303







Wiek: 30
Na forum: 6419 dni
Posty: 654

Piwa: 2990

Respekt: 231,6
Respekt: 231,6Respekt: 231,6

Dominik354657, czy to s? aby na pewno te linijki? Bo tutaj jest wszystko dobrze. Poka? troch? kodu pod i nad tym kodem co poda?e?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2011-08-27, 22:22


Dominik354657







Wiek: 41
Na forum: 6229 dni
Posty: 19



Respekt: 50

Kod:

public OnGameModeInit()
{
SetGameModeText("Testing Map");
ShowPlayerMarkers(PLAYER_MARKERS_MODE_GLOBAL);
ShowNameTags(1);
SetNameTagDrawDistance(40.0);
EnableStuntBonusForAll(0);
DisableInteriorEnterExits();
SetWeather(2);
SetWorldTime(11);

//ManualVehicleEngineAndLights();
//LimitGlobalChatRadius(300.0);

ClassSel_InitTextDraws();

public OnPlayerCommandText(playerid, cmdtext[]);
{
if (strcmp("/solo", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid, 1882.3140, -1402.0904, 13.5703);
SendClientMessage(playerid,0x33AA33AA,"WITAJ NA SOLO");
return 1;
}
return 0;
}


PS Jak si? dodawa?o sprint do mapy?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2011-08-27, 22:59


MG303







Wiek: 30
Na forum: 6419 dni
Posty: 654

Piwa: 2990

Respekt: 231,6
Respekt: 231,6Respekt: 231,6

Kod:

public OnGameModeInit()
{
SetGameModeText("Testing Map");
ShowPlayerMarkers(PLAYER_MARKERS_MODE_GLOBAL);
ShowNameTags(1);
SetNameTagDrawDistance(40.0);
EnableStuntBonusForAll(0);
DisableInteriorEnterExits();
SetWeather(2);
SetWorldTime(11);

//ManualVehicleEngineAndLights();
//LimitGlobalChatRadius(300.0);

ClassSel_InitTextDraws();
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[]);
{
if (strcmp("/solo", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid, 1882.3140, -1402.0904, 13.5703);
SendClientMessage(playerid,0x33AA33AA,"WITAJ NA SOLO");
return 1;
}
return 0;
}


Postaw piwo autorowi tego posta
 

 
Wysłany: 2011-08-27, 23:07


Dominik354657







Wiek: 41
Na forum: 6229 dni
Posty: 19



Respekt: 50

Kod:

C:\Documents and Settings\babydzag\Pulpit\Moje - Dominik\samp server 0.3c\gamemodes\grandlarc.pwn(59) : warning 215: expression has no effect
C:\Documents and Settings\babydzag\Pulpit\Moje - Dominik\samp server 0.3c\gamemodes\grandlarc.pwn(358) : error 001: expected token: "-identifier-", but found "("
C:\Documents and Settings\babydzag\Pulpit\Moje - Dominik\samp server 0.3c\gamemodes\grandlarc.pwn(360) : error 010: invalid function or declaration
C:\Documents and Settings\babydzag\Pulpit\Moje - Dominik\samp server 0.3c\gamemodes\grandlarc.pwn(364) : error 010: invalid function or declaration
C:\Documents and Settings\babydzag\Pulpit\Moje - Dominik\samp server 0.3c\gamemodes\grandlarc.pwn(366) : error 010: invalid function or declaration
C:\Documents and Settings\babydzag\Pulpit\Moje - Dominik\samp server 0.3c\gamemodes\grandlarc.pwn(371) : error 021: symbol already defined: "CreateObject"
C:\Documents and Settings\babydzag\Pulpit\Moje - Dominik\samp server 0.3c\gamemodes\grandlarc.pwn(383) : error 021: symbol already defined: "AddPlayerClass"
C:\Documents and Settings\babydzag\Pulpit\Moje - Dominik\samp server 0.3c\gamemodes\grandlarc.pwn(386) : error 010: invalid function or declaration
C:\Documents and Settings\babydzag\Pulpit\Moje - Dominik\samp server 0.3c\gamemodes\grandlarc.pwn(390) : error 010: invalid function or declaration
C:\Documents and Settings\babydzag\Pulpit\Moje - Dominik\samp server 0.3c\gamemodes\grandlarc.pwn(395) : error 010: invalid function or declaration
C:\Documents and Settings\babydzag\Pulpit\Moje - Dominik\samp server 0.3c\gamemodes\grandlarc.pwn(400) : error 010: invalid function or declaration
C:\Documents and Settings\babydzag\Pulpit\Moje - Dominik\samp server 0.3c\gamemodes\grandlarc.pwn(406) : error 010: invalid function or declaration
C:\Documents and Settings\babydzag\Pulpit\Moje - Dominik\samp server 0.3c\gamemodes\grandlarc.pwn(412) : error 021: symbol already defined: "printf"
C:\Documents and Settings\babydzag\Pulpit\Moje - Dominik\samp server 0.3c\gamemodes\grandlarc.pwn(414) : error 010: invalid function or declaration
C:\Documents and Settings\babydzag\Pulpit\Moje - Dominik\samp server 0.3c\gamemodes\grandlarc.pwn(465) : warning 203: symbol is never used: "gArmySpawns"
C:\Documents and Settings\babydzag\Pulpit\Moje - Dominik\samp server 0.3c\gamemodes\grandlarc.pwn(465) : warning 203: symbol is never used: "gMedicalSpawns"
C:\Documents and Settings\babydzag\Pulpit\Moje - Dominik\samp server 0.3c\gamemodes\grandlarc.pwn(465) : warning 203: symbol is never used: "gPoliceSpawns"
C:\Documents and Settings\babydzag\Pulpit\Moje - Dominik\samp server 0.3c\gamemodes\grandlarc.pwn(465) : warning 203: symbol is never used: "total_vehicles_from_files"


:* ;D

Postaw piwo autorowi tego posta
 

 
Tagi: błędy :: przy :: kompilacji :: rozwiązanie
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » PAWN » BŁĘDY PRZY KOMPILACJI - ROZWIĄZANIE Odpowiedz do tematu

Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Dodaj temat do Ulubionych
Wersja do druku