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

Wysłany: 2009-06-17, 12:55


De02oo9







Wiek: 30
Na forum: 6505 dni
Posty: 5

Piwa: 116

Respekt: 50

Ostrzeżeń: 60%
Gdy wcisne F5 wyskakuje mi karteczka nasepujaca
Kod:

C:\Documents and Settings\De02oo9\Pulpit\vip22.pwn(4) : error 075: input line too long (after substitutions)
C:\Documents and Settings\De02oo9\Pulpit\vip22.pwn(5) : error 075: input line too long (after substitutions)
C:\Documents and Settings\De02oo9\Pulpit\vip22.pwn(22) : warning 213: tag mismatch
C:\Documents and Settings\De02oo9\Pulpit\vip22.pwn(22) : warning 213: tag mismatch
C:\Documents and Settings\De02oo9\Pulpit\vip22.pwn(23) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\De02oo9\Pulpit\vip22.pwn(27) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\De02oo9\Pulpit\vip22.pwn(28) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\De02oo9\Pulpit\vip22.pwn(32) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\De02oo9\Pulpit\vip22.pwn(20) : warning 203: symbol is never used: "arg1"
C:\Documents and Settings\De02oo9\Pulpit\vip22.pwn(20) : warning 203: symbol is never used: "arg0"
C:\Documents and Settings\De02oo9\Pulpit\vip22.pwn(43) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\De02oo9\Pulpit\vip22.pwn(48) : error 028: invalid subscript (not an array or too many subscripts): "arg0"
C:\Documents and Settings\De02oo9\Pulpit\vip22.pwn(48) : warning 215: expression has no effect
C:\Documents and Settings\De02oo9\Pulpit\vip22.pwn(48) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\De02oo9\Pulpit\vip22.pwn(48) : error 029: invalid expression, assumed zero
C:\Documents and Settings\De02oo9\Pulpit\vip22.pwn(48) : fatal error 107: too many error messages on one line

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


11 Errors.

W czym robi? b?ad ?? ?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-06-17, 13:29


xqz

otaku desu!






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

Piwa: 5465

Respekt: 418,6
Respekt: 418,6

De02oo9, pokaz te linijki z errorow...

Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-06-17, 13:40


AdiX







Wiek: 31
Na forum: 6898 dni
Posty: 100

Piwa: 932

Respekt: 50

"HeLLo" napisał/a:



[ Dodano: 2009-06-17, 10:37 ]
Mam kolejne bledy, co w tym jest zle ??

Kod:

F:\gf\gf kopia.pwn(4238) : error 029: invalid expression, assumed zero
F:\gf\gf kopia.pwn(4238 -- 4239) : error 029: invalid expression, assumed zero


to ta linijka
Kod:

if(newcar == 66 || if(newcar == 67 || newcar == 68)
{

Linijka 4239 jest pusta


Kod:

if(newcar == 66 || newcar == 67 || newcar == 68)
{


Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-06-17, 20:42


De02oo9







Wiek: 30
Na forum: 6505 dni
Posty: 5

Piwa: 116

Respekt: 50

Ostrzeżeń: 60%
Kod:

35: fclose(var1);
75: {
28: while(fread(var0, var2, 255))
213: {
203: }
107: }

Odkryta wiadomość / Unhidden message(aby ją zobaczyć nie musisz nic robić)
Za pomoc daje :piwo:


Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-06-18, 22:34


xqz

otaku desu!






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

Piwa: 5465

Respekt: 418,6
Respekt: 418,6

De02oo9, co ty podajesz?

Jesli to do poprzedniego to podales nie te linijki ;)

Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-06-19, 15:13


TonyJaa







Wiek: 36
Na forum: 6387 dni
Posty: 17

Piwa: 38

Respekt: 50

Ostrzeżeń: 20%
Witam mam jeden eror
Kod:

C:\Documents and Settings\Kamil\Pulpit\Stunt World 0.6 By Tony_Jaa.pwn(1286) : error 017: undefined symbol "ReturnUser"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.


1286
Kod:

pid = ReturnUser(tmpp);


Za pomoc :arrow: :piwo:

Podpis

Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-06-19, 15:31


xqz

otaku desu!






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

Piwa: 5465

Respekt: 418,6
Respekt: 418,6

Kod:

pid = ReturnUser(tmp);


Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-06-19, 15:46


TonyJaa







Wiek: 36
Na forum: 6387 dni
Posty: 17

Piwa: 38

Respekt: 50

Ostrzeżeń: 20%
"xqz" napisał/a:

Kod:

pid = ReturnUser(tmp);


Dalej mam ten sam eror

Daje ca?? komend? z erorem
Kod:


if(strcmp("/tp", cmd, true) == 0)
{
new pid, tmpp[256];
tmpp = strtok(cmdtext, idx);
new pidName[MAX_PLAYER_NAME];
new pName[MAX_PLAYER_NAME];
new string[256];
if (!strlen(tmpp))
{
SendClientMessage(playerid, CZERWONY, "Use: /tp [ID]");
return 1;
}
pid = ReturnUser(tmp);
if (!(IsPlayerConnected(pid)))
{
SendClientMessage(playerid, CZERWONY, "Nie Ma Takiego Gracza o Podanym ID!");
return 1;
}
if(BlokadaTPAll[strval(tmpp)] == 1)
{
SendClientMessage(playerid, CZERWONY, "Ten Gracz Zablokowa? Ci Teleport Do Niego");
return 1;
}

GetPlayerName(pid, pidName, sizeof(pidName));
UnderscoreToSpace(pidName);
format(tmpp, sizeof(tmpp), "Teleportowales Sie Do Gracza: %s",pidName);
UnderscoreToSpace(pidName);
SendClientMessage(playerid, ZOLTY, tmpp);
new Float:x,Float:y,Float:z;
GetPlayerPos(strval(tmpp), x, y, z);
SetPlayerPos(playerid, x, y, z);
{
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "%s Teleportowa? Sie Do Ciebie.",pName);
UnderscoreToSpace(pName);
SendClientMessage(pid, ZOLTY, string);
}
return 1;
}


Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-06-19, 15:57


xqz

otaku desu!






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

Piwa: 5465

Respekt: 418,6
Respekt: 418,6

Kod:

if(strcmp("/tp", cmd, true) == 0)
{
new tmpp[256];
tmpp = strtok(cmdtext, idx);
new pidName[MAX_PLAYER_NAME];
new pName[MAX_PLAYER_NAME];
new string[256];
if (!strlen(tmpp)) return SendClientMessage(playerid, CZERWONY, "Use: /tp [ID]");
new pid;
pid = ReturnUser(tmp);
if(pid != INVALID_PLAYER_ID)
{
if (!(IsPlayerConnected(pid)))
{
SendClientMessage(playerid, CZERWONY, "Nie Ma Takiego Gracza o Podanym ID!");
return 1;
}
if(BlokadaTPAll[strval(tmpp)] == 1)
{
SendClientMessage(playerid, CZERWONY, "Ten Gracz Zablokowa? Ci Teleport Do Niego");
}
return 1;
}

GetPlayerName(pid, pidName, sizeof(pidName));
UnderscoreToSpace(pidName);
format(tmpp, sizeof(tmpp), "Teleportowales Sie Do Gracza: %s",pidName);
UnderscoreToSpace(pidName);
SendClientMessage(playerid, ZOLTY, tmpp);
new Float:x,Float:y,Float:z;
GetPlayerPos(strval(tmpp), x, y, z);
SetPlayerPos(playerid, x, y, z);
{
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "%s Teleportowa? Sie Do Ciebie.",pName);
UnderscoreToSpace(pName);
SendClientMessage(pid, ZOLTY, string);
}
return 1;
}


Ostatnio zmieniony przez xqz 2009-06-19, 16:35, w całości zmieniany 1 raz  
Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-06-19, 16:08


AdiX







Wiek: 31
Na forum: 6898 dni
Posty: 100

Piwa: 932

Respekt: 50

Hmm? ReturnUser:

http://pastebin.pl/9321

Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-06-20, 10:26


pitpo







Wiek: 31
Na forum: 6294 dni
Posty: 2

Piwa: 4

Respekt: 50

JA mam ciut inny problem
Cytat:

AddStaticVehicle(522,2259.940674,-1733.734131,118.615166,180,0,0);
AddStaticVehicle(522,2262.117676,-1733.688477,118.615166,180,0,0);
AddStaticVehicle(522,2264.471680,-1733.706177,118,615166,180,0,0);
AddStaticVehicle(522,2267.050049,-1734,126831,118,615166,180,0,0);
AddStaticVehicle(522,2269.611084,-1734,291382,118.615166,180,0,0);


Mam takie linijki i TYLKO w 3 ostatnich s? warningi, a dok?adniej
Kod:

warning 202: number of arguments does not match definition
A przecie? one s? identyczne, tylko wsp??rz?dne s? inne

Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-06-20, 13:10


De02oo9







Wiek: 30
Na forum: 6505 dni
Posty: 5

Piwa: 116

Respekt: 50

Ostrzeżeń: 60%
Jak nie te linijki to jakie???
Pisze tam 035 itd
(Dawno nie pisa?em pawno wi?c mog? si? pomyli?)

Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-06-20, 13:31


DestiX

Miszczu PAWNO :D






Wiek: 31
Na forum: 6637 dni
Posty: 79
Nick w MP: DestiX

Piwa: 3473

Respekt: 50

Kod:

AddStaticVehicle(522, 2259.940674, -1733.734131, 118.615166, 180, 0, 0);
AddStaticVehicle(522, 2262.117676, -1733.688477, 118.615166, 180, 0, 0);
AddStaticVehicle(522, 2264.471680, -1733.706177, 118.615166, 180, 0, 0);
AddStaticVehicle(522, 2267.050049, -1734,126831, 118.615166, 180, 0, 0);
AddStaticVehicle(522, 2269.611084, -1734,291382, 118.615166, 180, 0, 0);



powinno dzia?ac, w dwuch miejscach zamiast "przecinka" mia?a byc "kropka" jak bedzie dzia?ac to znaczy ze to winda interpunkcji :)

Podpis

Jestem jaki jestem, ale wiem że jestem...
Zakończyć przygodę poraz ostatni... > http://www.destix.pl/?p=30
Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-06-20, 15:29


Ray12







Wiek: 30
Na forum: 6737 dni
Posty: 21
Nick w MP: Ray.RTRT

Piwa: 4264

Respekt: 50

Kod:

D:\skrypt.pwn(160) : error 033: array must be indexed (variable "tmp")
D:\skrypt.pwn(196) : error 033: array must be indexed (variable "tmp")


Linijki:

Kod:

tmp = strtok(cmdtext,idx);

tmp = strtok(cmdtext,idx);


Zdefiniowane new tmp[256]; mam ale co? jest ?le ...
Za pomoc daje :arrow: :piwo:

Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-06-20, 21:59


DestiX

Miszczu PAWNO :D






Wiek: 31
Na forum: 6637 dni
Posty: 79
Nick w MP: DestiX

Piwa: 3473

Respekt: 50

ray mog? bys da? ca?y plik pwn ?? poniewaz mi nie raz pisa?o ze error jest w linijce 20 i np cos "cmdtext" a to by?o w ca?kiem innej linijcie i ca?kiem inny error :)

Podpis

Jestem jaki jestem, ale wiem że jestem...
Zakończyć przygodę poraz ostatni... > http://www.destix.pl/?p=30
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