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

Wysłany: 2009-11-01, 15:06


Zio_OM_







Wiek: 33
Na forum: 6620 dni
Posty: 2

Piwa: 2

Respekt: 50

Ostrzeżeń: 20%
Jak kompiluje w nowym pawno ( tzn. tym pawno z 0.3 ) to mam 2 errory. A na 0.2x nie by?o ich.

C:\DOCUME~1\Karol\MOJEDO~1\POBIER~1\RP.pwn(5712) : error 025: function heading differs from prototype
C:\DOCUME~1\Karol\MOJEDO~1\POBIER~1\RP.pwn(5788) : error 025: function heading differs from prototype

A o to linijki:
public OnVehicleMod(vehicleid, componentid) to 5712
public OnVehicleRespray(vehicleid, color1, color2) to 5788

Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-11-01, 16:50


xqz

otaku desu!






Wiek: 32
Na forum: 6504 dni
Posty: 723
Nick w MP: xqz

Piwa: 5465

Respekt: 418,6
Respekt: 418,6

Zio_OM_,

Kod:

public OnVehicleMod(playerid,vehicleid, componentid)
public OnVehicleRespray(playerid,vehicleid, color1, color2)


tak sprobuj te publicki dac..

Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-11-01, 16:53


Zio_OM_







Wiek: 33
Na forum: 6620 dni
Posty: 2

Piwa: 2

Respekt: 50

Ostrzeżeń: 20%
@UP Dzi?ki, wszystko dzia?a, piwko.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-11-09, 21:31


Matrix_15







Wiek: 33
Na forum: 6337 dni
Posty: 14

Piwa: 69

Respekt: 50

Ostrzeżeń: 20%
POtrzebuje pomocy na temat pawno najlepioej jak by ktos napisal na gg bo mam tego troche a zostalo 13 bled?w a bylo 26 . Prosze o kontakt 5*****. jak ktos pomoze to doladuje konot za 5zl

Podpis
Ostatnio zmieniony przez TNT 2009-11-09, 21:32, w całości zmieniany 1 raz  
Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-11-09, 21:33


xqz

otaku desu!






Wiek: 32
Na forum: 6504 dni
Posty: 723
Nick w MP: xqz

Piwa: 5465

Respekt: 418,6
Respekt: 418,6

Matrix_15, napisz tutaj, to pomozemy za free...

Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-11-09, 21:44


Matrix_15







Wiek: 33
Na forum: 6337 dni
Posty: 14

Piwa: 69

Respekt: 50

Ostrzeżeń: 20%
mam takie b?edy :
C:\Documents and Settings\SysOp\Pulpit\Matrix\Nowy folder\matrix.pwn(1140) : warning 203: symbol is never used: "idx"
C:\Documents and Settings\SysOp\Pulpit\Matrix\Nowy folder\matrix.pwn(2139) : warning 209: function "getCheckpointType" should return a value
C:\Documents and Settings\SysOp\Pulpit\Matrix\Nowy folder\matrix.pwn(2839) : warning 209: function "getCheckpointType" should return a value
C:\Documents and Settings\SysOp\Pulpit\Matrix\Nowy folder\matrix.pwn(2893) : warning 209: function "getCheckpointType" should return a value
C:\Documents and Settings\SysOp\Pulpit\Matrix\Nowy folder\matrix.pwn(2950) : warning 209: function "getCheckpointType" should return a value
C:\Documents and Settings\SysOp\Pulpit\Matrix\Nowy folder\matrix.pwn(5732) : warning 202: number of arguments does not match definition
C:\Documents and Settings\SysOp\Pulpit\Matrix\Nowy folder\matrix.pwn(5744) : warning 202: number of arguments does not match definition
C:\Documents and Settings\SysOp\Pulpit\Matrix\Nowy folder\matrix.pwn(5745) : warning 202: number of arguments does not match definition
C:\Documents and Settings\SysOp\Pulpit\Matrix\Nowy folder\matrix.pwn(5980) : warning 209: function "OnPlayerRequestSpawn" should return a value
C:\Documents and Settings\SysOp\Pulpit\Matrix\Nowy folder\matrix.pwn(6154) : warning 202: number of arguments does not match definition
C:\Documents and Settings\SysOp\Pulpit\Matrix\Nowy folder\matrix.pwn(6245) : warning 209: function "getCheckpointType" should return a value
C:\Documents and Settings\SysOp\Pulpit\Matrix\Nowy folder\matrix.pwn(6280) : warning 209: function "getCheckpointType" should return a value
C:\Documents and Settings\SysOp\Pulpit\Matrix\Nowy folder\matrix.pwn(6280) : warning 209: function "getCheckpointType" should return a value

[ Dodano: 2009-11-09, 21:56 ]
i co pomozesz?

Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-11-09, 22:05


The Reary







Wiek: 47
Na forum: 6471 dni
Posty: 69
Nick w MP: TheReary

Piwa: 2446

Respekt: 57

Matrix_15, Linijki daj....

Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-11-09, 22:32


Matrix_15







Wiek: 33
Na forum: 6337 dni
Posty: 14

Piwa: 69

Respekt: 50

Ostrzeżeń: 20%
Linijki :
1140 }
2139 if(IsPlayerInCheckpoint(playerid) == 0 || getCheckpointType(playerid) != CP_BANK) {
2839 if(IsPlayerInCheckpoint(playerid) == 0 || getCheckpointType(playerid) != CP_BANK) {
2893 if(IsPlayerInCheckpoint(playerid) == 0 || getCheckpointType(playerid) != CP_BANK) {
2950 if(IsPlayerInCheckpoint(playerid) == 0 || getCheckpointType(playerid) != CP_BANK) {
5732 tmp = strtok(cmdtext, idx, ' ');
5744 IPS[0] = strval(strtok(IP, idx, '.'));
5745 IPS[1] = strval(strtok(IP, idx, '.'));
5980 }
6154 if (reason == strval(strtok(tmp, idx, ',')) && reason != 0 && !IsPlayerAdmin(playerid)) {
6245 switch(getCheckpointType(playerid))
6280 if(getCheckpointType(playerid)>= P_OFFSET) {

[ Dodano: 2009-11-09, 22:33 ]
to sa linijki

Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-11-10, 07:10


xqz

otaku desu!






Wiek: 32
Na forum: 6504 dni
Posty: 723
Nick w MP: xqz

Piwa: 5465

Respekt: 418,6
Respekt: 418,6

Matrix_15,
Kod:

"getCheckpointType" should return a value

Nie zamknales tego (publica).

Kod:

tmp = strtok(cmdtext, idx, ' ');
5744 IPS[0] = strval(strtok(IP, idx));
5745 IPS[1] = strval(strtok(IP, idx));

if (reason == strval(strtok(tmp, idx)) && reason != 0 && !IsPlayerAdmin(playerid)) {


Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-11-10, 07:20


Matrix_15







Wiek: 33
Na forum: 6337 dni
Posty: 14

Piwa: 69

Respekt: 50

Ostrzeżeń: 20%
ale napisz jak go zamknac ?

Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-11-10, 07:57


xqz

otaku desu!






Wiek: 32
Na forum: 6504 dni
Posty: 723
Nick w MP: xqz

Piwa: 5465

Respekt: 418,6
Respekt: 418,6

Policz ile jest klamer otwartych w tym publicu , i zrob tyle samo zamknietych ;)

Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-11-10, 13:14


The Reary







Wiek: 47
Na forum: 6471 dni
Posty: 69
Nick w MP: TheReary

Piwa: 2446

Respekt: 57

Matrix_15, Lub je?eli nie umiesz policzy? u?yj licznika klamer by Robert007...
"Matrix_15" napisał/a:


C:\Documents and Settings\SysOp\Pulpit\Matrix\Nowy folder\matrix.pwn(1140) : warning 203: symbol is never used: "idx"
A co do tego, to masz gdzie? 2 razy zdefiniowane , usu? definicje a waring zniknie, lub masz definicje "idx" ale nie zosta?a nigdzie u?yta.

[ Komentarz dodany przez: xqz: 2009-11-10, 15:15 ]
Never used. Nie jest nigdzie uzyty, wiec mozna usunac ta definicje.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-11-11, 14:12


ZeDoZ







Wiek: 31
Na forum: 6456 dni
Posty: 8
Nick w MP: ZeDoZ

Piwa: 89

Respekt: 50

Ostrzeżeń: 20%
D:\Pawno\HiT Areny\zm.pwn(3933) : error 021: symbol already defined: "strtok"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

Kod:

(3932) stock strtok(const string[], &index)
(3933) {


Podpis


Pomagam wszystkim :) .
Na gg nie pomagam ;P .

Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-11-11, 14:17


TNT

Ban(playerid);






Wiek: 32
Na forum: 6789 dni
Posty: 145

Piwa: 1141

Respekt: 50

usu? z mapy
Kod:

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;
}


Zaczyna si? od tych linijek co poda?e? (i ma chyba 18 linijek)

Podpis
SupportTeam przemo.org
Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-11-13, 16:09


mike000







Wiek: 32
Na forum: 6169 dni
Posty: 11
Nick w MP: Maniek_

Piwa: 9

Respekt: 50

Kod:

D:\Documents and Settings\bart\Pulpit\mapka.pwn(7454) : error 017: undefined symbol "CreateStreamObject"
D:\Documents and Settings\bart\Pulpit\mapka.pwn(7455) : error 017: undefined symbol "CreateStreamObject"
D:\Documents and Settings\bart\Pulpit\mapka.pwn(7456) : error 017: undefined symbol "CreateStreamObject"
D:\Documents and Settings\bart\Pulpit\mapka.pwn(7457) : error 017: undefined symbol "CreateStreamObject"
D:\Documents and Settings\bart\Pulpit\mapka.pwn(7458) : error 017: undefined symbol "CreateStreamObject"
D:\Documents and Settings\bart\Pulpit\mapka.pwn(7459) : error 017: undefined symbol "CreateStreamObject"
D:\Documents and Settings\bart\Pulpit\mapka.pwn(7460) : error 017: undefined symbol "CreateStreamObject"
D:\Documents and Settings\bart\Pulpit\mapka.pwn(7461) : error 017: undefined symbol "CreateStreamObject"
D:\Documents and Settings\bart\Pulpit\mapka.pwn(7462) : error 017: undefined symbol "CreateStreamObject"
D:\Documents and Settings\bart\Pulpit\mapka.pwn(7463) : error 017: undefined symbol "CreateStreamObject"
D:\Documents and Settings\bart\Pulpit\mapka.pwn(7464) : error 017: undefined symbol "CreateStreamObject"
D:\Documents and Settings\bart\Pulpit\mapka.pwn(7465) : error 017: undefined symbol "CreateStreamObject"
D:\Documents and Settings\bart\Pulpit\mapka.pwn(7466) : error 017: undefined symbol "CreateStreamObject"
D:\Documents and Settings\bart\Pulpit\mapka.pwn(7467) : error 017: undefined symbol "CreateStreamObject"
D:\Documents and Settings\bart\Pulpit\mapka.pwn(7468) : error 017: undefined symbol "CreateStreamObject"
D:\Documents and Settings\bart\Pulpit\mapka.pwn(7469) : error 017: undefined symbol "CreateStreamObject"
D:\Documents and Settings\bart\Pulpit\mapka.pwn(7470) : error 017: undefined symbol "CreateStreamObject"
D:\Documents and Settings\bart\Pulpit\mapka.pwn(7471) : error 017: undefined symbol "CreateStreamObject"
D:\Documents and Settings\bart\Pulpit\mapka.pwn(7472) : error 017: undefined symbol "CreateStreamObject"
D:\Documents and Settings\bart\Pulpit\mapka.pwn(7473) : error 017: undefined symbol "CreateStreamObject"
D:\Documents and Settings\bart\Pulpit\mapka.pwn(7474) : error 017: undefined symbol "CreateStreamObject"
D:\Documents and Settings\bart\Pulpit\mapka.pwn(7475) : error 017: undefined symbol "CreateStreamObject"
D:\Documents and Settings\bart\Pulpit\mapka.pwn(7476) : error 017: undefined symbol "CreateStreamObject"
D:\Documents and Settings\bart\Pulpit\mapka.pwn(7477) : error 017: undefined symbol "CreateStreamObject"
D:\Documents and Settings\bart\Pulpit\mapka.pwn(7478) : error 017: undefined symbol "CreateStreamObject"
D:\Documents and Settings\bart\Pulpit\mapka.pwn(7479) : error 017: undefined symbol "CreateStreamObject"

by?bym wdzi?czny za pomoc w tym, dam :piwo:

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