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

Wysłany: 2007-12-04, 17:11


Pudi

KoLeJoRz FaN






Wiek: 31
Na forum: 6777 dni
Posty: 12

Piwa: 507

Respekt: 50

C
Kod:

C:\Documents and Settings\Pudi\Pulpit\cars\Tele.pwn(2) : error 010: invalid function or declaration
C:\Documents and Settings\Pudi\Pulpit\cars\Tele.pwn(5) : warning 235: public function lacks forward declaration (symbol "OnPlayerCommandText")
C:\Documents and Settings\Pudi\Pulpit\cars\Tele.pwn(7) : error 017: undefined symbol "strcmp"
C:\Documents and Settings\Pudi\Pulpit\cars\Tele.pwn(9) : error 017: undefined symbol "SetPlayerPos"
C:\Documents and Settings\Pudi\Pulpit\cars\Tele.pwn(10) : error 017: undefined symbol "SendClientMessage"
C:\Documents and Settings\Pudi\Pulpit\cars\Tele.pwn(13) : warning 209: function "OnPlayerCommandText" should return a value
C:\Documents and Settings\Pudi\Pulpit\cars\Tele.pwn(14) : error 010: invalid function or declaration
Co to oznacza??

Postaw piwo autorowi tego posta
 

 
Wysłany: 2007-12-04, 17:14


Tomko

Pogromca neo kids






Wiek: 35
Na forum: 6950 dni
Posty: 147

Piwa: 764

Respekt: 50

Wszystkie te b??dy s? wyja?nione w pierwszym po?cie :x

Podpis
.
Postaw piwo autorowi tego posta
 

 
Wysłany: 2007-12-07, 13:58


Dudo

Pawno man :)






Wiek: 34
Na forum: 6760 dni
Posty: 32

Piwa: 56

Respekt: 50

Error 090 -
:\PROGRA~1\ROCKST~1\GAMEMO~1\CLANBA~1.PWN(458) : error 090: public functions may not return arrays (symbol "PlayerName")


public PlayerName(playerid)
{
new pName[256];
GetPlayerName(playerid, pName, sizeof(pName));
return pName;
}

_______________________
Licz? na pomoc :) :arrow: :piwo:

Postaw piwo autorowi tego posta
 

 
Wysłany: 2007-12-07, 14:06


Tomko

Pogromca neo kids






Wiek: 35
Na forum: 6950 dni
Posty: 147

Piwa: 764

Respekt: 50

Funkcja jest public i nie mo?e zwraca? tablic. Usu? public przed funkcj?

Podpis
.
Postaw piwo autorowi tego posta
 

 
Wysłany: 2007-12-07, 14:11


Dudo

Pawno man :)






Wiek: 34
Na forum: 6760 dni
Posty: 32

Piwa: 56

Respekt: 50

Brak mi s??w Tomko :shock: :piwo:

Postaw piwo autorowi tego posta
 

 
Wysłany: 2007-12-08, 19:06


Max_Payne







Wiek: 31
Na forum: 6774 dni
Posty: 6

Piwa: 111

Respekt: 50

Ja mam takie b??dy :
Kod:

warning 211: possibly unintended assignment
error 022: must be lvalue (non-constant)
warning 215: expression has no effect
error 001: expected token: ";", but found ")"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line


Wszystkie te b??dy s? z tej samej linijki (8263)
Pom??cie pls za pomoc :piwo:
PS: Kawa?ek kodu z bliskich linijek...
Kod:

skinid = GetPlayerSkin(playerid);
if(skinid == 280 || skinid == 281 || skinid = 282 || skinid == 283 || skinid == 284 || skinid == 286 || skinid == 288);
{


Postaw piwo autorowi tego posta
 

 
Wysłany: 2007-12-08, 19:20


Tomko

Pogromca neo kids






Wiek: 35
Na forum: 6950 dni
Posty: 147

Piwa: 764

Respekt: 50

1. usu? ?rednik ; z ko?ca warunku
2. zgubi?e? znak = w id 282

Podpis
.
Postaw piwo autorowi tego posta
 

 
Wysłany: 2007-12-09, 10:33


welezian

Niegdyś Moderator






Wiek: 33
Na forum: 6832 dni
Posty: 44

Piwa: 1413

Respekt: 50

Max_Payne, A da?e? na gorze moda
Kod:

new skinid;
??

Podpis


Postaw piwo autorowi tego posta
 

 
Wysłany: 2007-12-09, 18:45


Cartman







Wiek: 30
Na forum: 6894 dni
Posty: 38
Nick w MP: Blazer

Piwa: 1016

Respekt: 50

ja potrzebuje rozwiazania na te bledy:

Kod:

C:\Documents and Settings\Ch?opcy\Pulpit\gf.pwn(219) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\Ch?opcy\Pulpit\gf.pwn(220) : error 001: expected token: ";", but found "?"
C:\Documents and Settings\Ch?opcy\Pulpit\gf.pwn(222) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\Ch?opcy\Pulpit\gf.pwn(240) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\Ch?opcy\Pulpit\gf.pwn(577) : error 001: expected token: "}", but found "?"
C:\Documents and Settings\Ch?opcy\Pulpit\gf.pwn(588) : error 010: invalid function or declaration
C:\Documents and Settings\Ch?opcy\Pulpit\gf.pwn(603) : error 017: undefined symbol "pPaper"
C:\Documents and Settings\Ch?opcy\Pulpit\gf.pwn(731) : error 001: expected token: "}", but found "-identifier-"
C:\Documents and Settings\Ch?opcy\Pulpit\gf.pwn(819) : error 010: invalid function or declaration
C:\Documents and Settings\Ch?opcy\Pulpit\gf.pwn(1001) : error 001: expected token: "}", but found "?"
C:\Documents and Settings\Ch?opcy\Pulpit\gf.pwn(1005) : error 010: invalid function or declaration
C:\Documents and Settings\Ch?opcy\Pulpit\gf.pwn(1391) : error 017: undefined symbol "pHeadValue"
C:\Documents and Settings\Ch?opcy\Pulpit\gf.pwn(1401) : error 017: undefined symbol "pMember"
C:\Documents and Settings\Ch?opcy\Pulpit\gf.pwn(1405) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Ch?opcy\Pulpit\gf.pwn(1405) : warning 215: expression has no effect
C:\Documents and Settings\Ch?opcy\Pulpit\gf.pwn(1405) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Ch?opcy\Pulpit\gf.pwn(1405) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Ch?opcy\Pulpit\gf.pwn(1405) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


17 Errors.



HELP!!!

Podpis

Postaw piwo autorowi tego posta
 

 
Wysłany: 2007-12-09, 23:24


kedar-22







Wiek: 37
Na forum: 6871 dni
Posty: 10

Piwa: 10

Respekt: 50

Cartman a probowa?e? chocia? sam naprawi? te b??dy w tym dziale pierwszy post napisany przez Tomko wyja?nia poszczeg?lne b??dy, nie gadaj ?e nie potrafisz zdefiniowa? funkcji.

Wystarczy doda? na pocz?tku kodu definicj? dla niezdefiniowanych funk.:

undefined symbol "pPaper"
-rozwi?zanie problemu- #define pPaper
undefined symbol "pHeadValue" -rozwi?zanie problemu-#define pHeadValue
undefined symbol "pMember" -rozwi?zanie problemu-#define pMember

Wszystkie #define
dodajemy na samej g?rze gdzie inne

B?ad typu expected token: m?wi ze znaki s? nie takie i zawsze podaje w b??dzie jaki znak zamiast kt?rego jest dodany. Wystarczy si? pobawi? znakami i pozmienia? i uda si? zrobi?. Jak to kiedy? Tomko powiedzia?: "jak sami nie zaczniecie naprawia? b??d?w to si? nie nauczycie tego robi?"

Postaw piwo autorowi tego posta
 

 
Wysłany: 2007-12-10, 14:16


Sithani







Wiek: 33
Na forum: 6752 dni
Posty: 1



Respekt: 50

Ech, mam wielki problem. Zrobi?em wszystko, co trzeba, ale ci?gle wyskakuj? b??dy. Daj? w za??czniku plik pwn. (NIE ZMIENIAC, ?E NIBY WASZE!!! PLZ!!!)
Kto sprawi, ?e b??dy znikn?, dostanie kr?lestwo i p?? mojej corki xD.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2007-12-11, 23:15


Yavas







Wiek: 34
Na forum: 6776 dni
Posty: 11

Piwa: 1

Respekt: 50

Witam. Mam b??d, gdy klikam F5 i chce skomplikowac map? z .pwn na .amx. Wygl?da on tak:



Mo?e mi kto? pom?c i powiedziec jak to naprawic? Jak kto? pomo?e ma 2 piwa.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2007-12-12, 12:44


Tomko

Pogromca neo kids






Wiek: 35
Na forum: 6950 dni
Posty: 147

Piwa: 764

Respekt: 50

Podpis
.
Postaw piwo autorowi tego posta
 

 
Wysłany: 2007-12-12, 17:22


Yavas







Wiek: 34
Na forum: 6776 dni
Posty: 11

Piwa: 1

Respekt: 50

Ehh... Nadal to samo... piffka polec? jak kto? mi to rozwi?rze :piwo: :piwo: :piwo:

Postaw piwo autorowi tego posta
 

 
Wysłany: 2007-12-12, 18:18


Sopranoss







Wiek: 33
Na forum: 6761 dni
Posty: 16

Piwa: 73

Respekt: 50

Ostrzeżeń: 100%
ee co to za b??d ? xD



Cytat:

C:\DOCUME~1\Dawid\Pulpit\Sopran.pwn(136) : error 017: undefined symbol "SetVehicleHealth"
C:\DOCUME~1\Dawid\Pulpit\Sopran.pwn(142) : warning 204: symbol is assigned a value that is never used: "vehicleid"
Pawn compiler 3.0.3367 Copyright (c) 1997-2005, ITB CompuPhase


1 Error.


Podpis
ATC
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