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

Wysłany: 2008-04-19, 15:26


Vito







Wiek: 32
Na forum: 6649 dni
Posty: 26

Piwa: 11

Respekt: 49,1

Ostrzeżeń: 40%
no tak zlikwidowa?em ten b??d ale powsta? nast?pny
Kod:

C:\DOCUME~1\Fx\Pulpit\pawno\gamemode\gf.pwn(2145) : warning 225: unreachable code
C:\DOCUME~1\Fx\Pulpit\pawno\gamemode\gf.pwn(2900) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pawno\gamemode\gf.pwn(2904) : warning 217: loose indentation
C:\DOCUME~1\Fx\Pulpit\pawno\gamemode\gf.pwn(2904) : error 029: invalid expression, assumed zero
C:\DOCUME~1\Fx\Pulpit\pawno\gamemode\gf.pwn(2914) : warning 209: function "SetPlayerSpawn" should return a value
C:\DOCUME~1\Fx\Pulpit\pawno\gamemode\gf.pwn(2915) : error 010: invalid function or declaration
C:\DOCUME~1\Fx\Pulpit\pawno\gamemode\gf.pwn(6694) : error 032: array index out of bounds (variable "Peds")
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.


Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-04-19, 15:52


Alan

Pawno Team






Wiek: 31
Na forum: 6760 dni
Posty: 56

Piwa: 351

Respekt: 50

Ostrzeżeń: 100%
Na g?rze moda daj:
Kod:

pragma tabsize 0


Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-04-19, 23:40


Vito







Wiek: 32
Na forum: 6649 dni
Posty: 26

Piwa: 11

Respekt: 49,1

Ostrzeżeń: 40%
O co w tym b??dzie chodzi??

Kod:

C:\DOCUME~1\Fx\Pulpit\MOJA-M~1.PWN(246) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.


Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-04-20, 00:08


Pr0f3ssi0n4LisT







Wiek: 25
Na forum: 6846 dni
Posty: 120

Piwa: 3653

Respekt: 117,8
Respekt: 117,8

Ze masz za malo danych w nawiasach albo za duzo

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-04-23, 23:54


Vito







Wiek: 32
Na forum: 6649 dni
Posty: 26

Piwa: 11

Respekt: 49,1

Ostrzeżeń: 40%
Jak to naprawi? i co ten b??d oznacza bo pierwszy raz go widz???

Kod:

C:\DOCUME~1\Fx\Pulpit\crash\ck.pwn(1716) : error 004: function "SetPlayerToTeamColor" is not implemented
C:\DOCUME~1\Fx\Pulpit\crash\ck.pwn(1741) : error 004: function "SetPlayerToTeamColor" is not implemented
C:\DOCUME~1\Fx\Pulpit\crash\ck.pwn(1761) : error 004: function "SetPlayerCriminal" is not implemented
C:\DOCUME~1\Fx\Pulpit\crash\ck.pwn(1767) : error 004: function "SetPlayerCriminal" is not implemented
C:\DOCUME~1\Fx\Pulpit\crash\ck.pwn(1831) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Fx\Pulpit\crash\ck.pwn(1835) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Fx\Pulpit\crash\ck.pwn(1847) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Fx\Pulpit\crash\ck.pwn(1851) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Fx\Pulpit\crash\ck.pwn(1855) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Fx\Pulpit\crash\ck.pwn(1859) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Fx\Pulpit\crash\ck.pwn(1863) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Fx\Pulpit\crash\ck.pwn(1867) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Fx\Pulpit\crash\ck.pwn(1871) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Fx\Pulpit\crash\ck.pwn(1883) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Fx\Pulpit\crash\ck.pwn(1887) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Fx\Pulpit\crash\ck.pwn(1891) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Fx\Pulpit\crash\ck.pwn(1895) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Fx\Pulpit\crash\ck.pwn(1899) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Fx\Pulpit\crash\ck.pwn(1911) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Fx\Pulpit\crash\ck.pwn(1915) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Fx\Pulpit\crash\ck.pwn(1919) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Fx\Pulpit\crash\ck.pwn(1931) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Fx\Pulpit\crash\ck.pwn(1935) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Fx\Pulpit\crash\ck.pwn(2190) : error 004: function "SendIRCMessage" is not implemented
C:\DOCUME~1\Fx\Pulpit\crash\ck.pwn(2212) : error 004: function "SendIRCMessage" is not implemented
C:\DOCUME~1\Fx\Pulpit\crash\ck.pwn(2224) : error 004: function "SaveCK" is not implemented

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


26 Errors.


Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-04-24, 00:21


Robert007







Wiek: 35
Na forum: 6714 dni
Posty: 223

Piwa: 11851

Respekt: 70

zgubiles gdzies klamre ;p masz gdzies nie zamknieta, musisz sprawdzic czy masz tyle samo otwartych jak i zamknietych klamr :P
(" { " " } ") <-- takie cos jak nie wiesz xD

Podpis
Jak sie masz
?
Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-04-24, 16:11


Vito







Wiek: 32
Na forum: 6649 dni
Posty: 26

Piwa: 11

Respekt: 49,1

Ostrzeżeń: 40%
wielkie dzi?ki poprawi?em dla ciebie piwko oczywiscie

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-04-29, 15:47


War3st







Wiek: 27
Na forum: 6826 dni
Posty: 24
Nick w MP: War3st

Piwa: 55

Respekt: 45,3

Witam!
Prosze o pomoc w mojej mapce bo ju? normalnie nic nie wiem ;(

Link do mapki dam, ale na pm bo boje sie o moj? mapke

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-04-29, 15:56


Diler

GtaO RLZ :)






Wiek: 30
Na forum: 6709 dni
Posty: 199

Piwa: 2579

Respekt: 49,8

Ostrzeżeń: 100%
Daj linijki z b??dami tylko

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-04-29, 17:42


War3st







Wiek: 27
Na forum: 6826 dni
Posty: 24
Nick w MP: War3st

Piwa: 55

Respekt: 45,3

ok, wiec to tak jest:
Kod:

C:\Documents and Settings\War3st\Pulpit\gf.pwn(1662) : error 004: function "SetPlayerToTeamColor" is not implemented
C:\Documents and Settings\War3st\Pulpit\gf.pwn(1687) : error 004: function "SetPlayerToTeamColor" is not implemented
C:\Documents and Settings\War3st\Pulpit\gf.pwn(1697) : error 029: invalid expression, assumed zero
C:\Documents and Settings\War3st\Pulpit\gf.pwn(1697) : error 004: function "OnPlayerEnterVehicle" is not implemented
C:\Documents and Settings\War3st\Pulpit\gf.pwn(1699) : error 017: undefined symbol "playerid"
C:\Documents and Settings\War3st\Pulpit\gf.pwn(1701) : error 004: function "IsACopCar" is not implemented
C:\Documents and Settings\War3st\Pulpit\gf.pwn(1703) : error 017: undefined symbol "playerid"
C:\Documents and Settings\War3st\Pulpit\gf.pwn(1704) : error 017: undefined symbol "playerid"
C:\Documents and Settings\War3st\Pulpit\gf.pwn(1704) : error 004: function "SetPlayerCriminal" is not implemented
C:\Documents and Settings\War3st\Pulpit\gf.pwn(1706) : error 004: function "IsAnAmbulance" is not implemented
C:\Documents and Settings\War3st\Pulpit\gf.pwn(1708) : error 017: undefined symbol "playerid"
C:\Documents and Settings\War3st\Pulpit\gf.pwn(1709) : error 017: undefined symbol "playerid"
C:\Documents and Settings\War3st\Pulpit\gf.pwn(1709) : error 004: function "SetPlayerCriminal" is not implemented
C:\Documents and Settings\War3st\Pulpit\gf.pwn(1712) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\War3st\Pulpit\gf.pwn(1715) : warning 225: unreachable code
C:\Documents and Settings\War3st\Pulpit\gf.pwn(1715) : error 029: invalid expression, assumed zero
C:\Documents and Settings\War3st\Pulpit\gf.pwn(1715) : error 004: function "IsAnInstructor" is not implemented
C:\Documents and Settings\War3st\Pulpit\gf.pwn(1717) : error 017: undefined symbol "playerid"
C:\Documents and Settings\War3st\Pulpit\gf.pwn(1719) : error 017: undefined symbol "playerid"
C:\Documents and Settings\War3st\Pulpit\gf.pwn(1720) : error 017: undefined symbol "playerid"
C:\Documents and Settings\War3st\Pulpit\gf.pwn(1723) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\War3st\Pulpit\gf.pwn(1727) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\War3st\Pulpit\gf.pwn(1730) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\War3st\Pulpit\gf.pwn(1733) : warning 225: unreachable code
C:\Documents and Settings\War3st\Pulpit\gf.pwn(1733) : error 029: invalid expression, assumed zero
C:\Documents and Settings\War3st\Pulpit\gf.pwn(1733) : error 004: function "IsAMember" is not implemented
C:\Documents and Settings\War3st\Pulpit\gf.pwn(1735) : error 017: undefined symbol "playerid"
C:\Documents and Settings\War3st\Pulpit\gf.pwn(1737) : error 017: undefined symbol "playerid"

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


26 Errors.


Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-04-29, 17:43


Robert007







Wiek: 35
Na forum: 6714 dni
Posty: 223

Piwa: 11851

Respekt: 70

brak klamry :/

Podpis
Jak sie masz
?
Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-04-29, 17:45


War3st







Wiek: 27
Na forum: 6826 dni
Posty: 24
Nick w MP: War3st

Piwa: 55

Respekt: 45,3

tylko powiedz gdzie, bo szuuuka?em wszedzie i nic :/

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-04-29, 17:46


Robert007







Wiek: 35
Na forum: 6714 dni
Posty: 223

Piwa: 11851

Respekt: 70

to moze pokarz ten kod ?

od 1662 do 1738 - linijki

Podpis
Jak sie masz
?
Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-04-29, 17:48


War3st







Wiek: 27
Na forum: 6826 dni
Posty: 24
Nick w MP: War3st

Piwa: 55

Respekt: 45,3

Ju? daje...
Kod:

SetPlayerToTeamColor(i);
MedicBill[i] = 0;
if(PlayerInfo[i][pDonateRank] > 0)
{
SetSpawnInfo(i, PlayerInfo[i][pTeam], PlayerInfo[i][pModel], Unspec[i][Coords][0], Unspec[i][Coords][1], Unspec[i][Coords][2], 10.0, -1, -1, -1, -1, -1, -1);
SpawnPlayer(i);
SetCameraBehindPlayer(i);
}
else
{
SpawnPlayer(i);
}
Spectate[i] = 255;
}
if(Spectate[i] == 254)
{
TogglePlayerControllable(i, 1);
SetPlayerInterior(i,Unspec[i][sPint]);
PlayerInfo[i][pInt] = Unspec[i][sPint];
PlayerInfo[i][pLocal] = Unspec[i][sLocal];
SetPlayerPos(i, Unspec[i][sPx], Unspec[i][sPy], Unspec[i][sPz]);
Spectate[i] = 255;
}
if(Spectate[i] == 256)
{
SetPlayerToTeamColor(i);
Spectate[i] = 255;
}
if(Spectate[i] == 257)
{
Spectate[i] = 254;
}

//------------------------------------------------------------------------------------------------------

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(gTeam[playerid] >= 3)
{
if (IsACopCar(vehicleid) && !ispassenger)
{
if(PlayerInfo[playerid][pLeader]==1||PlayerInfo[playerid][pLeader]==2||PlayerInfo[playerid][pLeader]==3) {}
else { WantedPoints[playerid]+=2; SetPlayerCriminal(playerid,255, "Kradzie? radiowozu"); }
}
if (IsAnAmbulance(vehicleid) && !ispassenger)
{
if(PlayerInfo[playerid][pMember]==4||PlayerInfo[playerid][pLeader]==4) { }
else { WantedPoints[playerid]+=2; SetPlayerCriminal(playerid,255, "Kradzie? ambulansu"); }
}
}
return 1;
}

public IsAnInstructor(playerid)
{
if(IsPlayerConnected(playerid))
{
new leader = PlayerInfo[playerid][pLeader];
new member = PlayerInfo[playerid][pMember];
if(member==11)
{
return 1;
}
if(leader==11)
{
return 1;
}
}
return 0;
}

public IsAMember(playerid)
{
if(IsPlayerConnected(playerid))
{
new leader = PlayerInfo[playerid][pLeader];
new member = PlayerInfo[playerid][pMember];


//EDIT:
Pomo?e mi kto? wre?cie! :evil:
Potrzebuje tej mapki dla mojego servera i nie moge czeka?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-04-29, 20:29


Alan

Pawno Team






Wiek: 31
Na forum: 6760 dni
Posty: 56

Piwa: 351

Respekt: 50

Ostrzeżeń: 100%
Spr?boj tak:

Kod:

SetPlayerToTeamColor(i);
MedicBill[i] = 0;
if(PlayerInfo[i][pDonateRank] > 0)
{
{
SetSpawnInfo(i, PlayerInfo[i][pTeam], PlayerInfo[i][pModel], Unspec[i][Coords][0], Unspec[i][Coords][1], Unspec[i][Coords][2], 10.0, -1, -1, -1, -1, -1, -1);
SpawnPlayer(i);
SetCameraBehindPlayer(i);
}
else
{
SpawnPlayer(i);
}
Spectate[i] = 255;
}
if(Spectate[i] == 254)
{
TogglePlayerControllable(i, 1);
SetPlayerInterior(i,Unspec[i][sPint]);
PlayerInfo[i][pInt] = Unspec[i][sPint];
PlayerInfo[i][pLocal] = Unspec[i][sLocal];
SetPlayerPos(i, Unspec[i][sPx], Unspec[i][sPy], Unspec[i][sPz]);
Spectate[i] = 255;
}
if(Spectate[i] == 256)
{
SetPlayerToTeamColor(i);
Spectate[i] = 255;
}
if(Spectate[i] == 257)
{
Spectate[i] = 254;
}

//------------------------------------------------------------------------------------------------------

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(gTeam[playerid] >= 3)
{
if (IsACopCar(vehicleid) && !ispassenger)
{
if(PlayerInfo[playerid][pLeader]==1||PlayerInfo[playerid][pLeader]==2||PlayerInfo[playerid][pLeader]==3) {}
else { WantedPoints[playerid]+=2; SetPlayerCriminal(playerid,255, "Kradzie? radiowozu"); }
}
if (IsAnAmbulance(vehicleid) && !ispassenger)
{
if(PlayerInfo[playerid][pMember]==4||PlayerInfo[playerid][pLeader]==4) { }
else { WantedPoints[playerid]+=2; SetPlayerCriminal(playerid,255, "Kradzie? ambulansu"); }
}
}
return 1;
}

public IsAnInstructor(playerid)
{
if(IsPlayerConnected(playerid))
{
new leader = PlayerInfo[playerid][pLeader];
new member = PlayerInfo[playerid][pMember];
if(member==11)
{
return 1;
}
if(leader==11)
{
return 1;
}
}
return 0;
}

public IsAMember(playerid)
{
if(IsPlayerConnected(playerid))
{
new leader = PlayerInfo[playerid][pLeader];
new member = PlayerInfo[playerid][pMember];


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