Wysłany: 2008-04-19, 15:26
Vito
Wiek: 32 Na forum: 6649 dni Posty: 26
Piwa : 11
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.
Wysłany: 2008-04-19, 15:52
Alan
Pawno Team
Wiek: 31 Na forum: 6760 dni Posty: 56
Piwa : 351
Na g?rze moda daj: Kod:
Wysłany: 2008-04-19, 23:40
Vito
Wiek: 32 Na forum: 6649 dni Posty: 26
Piwa : 11
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.
Wysłany: 2008-04-20, 00:08
Pr0f3ssi0n4LisT
Wiek: 25 Na forum: 6846 dni Posty: 120
Piwa : 3653
Ze masz za malo danych w nawiasach albo za duzo
Wysłany: 2008-04-23, 23:54
Vito
Wiek: 32 Na forum: 6649 dni Posty: 26
Piwa : 11
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.
Wysłany: 2008-04-24, 00:21
Robert007
Wiek: 35 Na forum: 6714 dni Posty: 223
Piwa : 11851
zgubiles gdzies klamre masz gdzies nie zamknieta, musisz sprawdzic czy masz tyle samo otwartych jak i zamknietych klamr
(" { " " } ") <-- takie cos jak nie wiesz xD
Wysłany: 2008-04-24, 16:11
Vito
Wiek: 32 Na forum: 6649 dni Posty: 26
Piwa : 11
wielkie dzi?ki poprawi?em dla ciebie piwko oczywiscie
Wysłany: 2008-04-29, 15:47
War3st
Wiek: 27 Na forum: 6826 dni Posty: 24
Nick w MP: War3st
Piwa : 55
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
Wysłany: 2008-04-29, 15:56
Diler
GtaO RLZ :)
Wiek: 30 Na forum: 6709 dni Posty: 199
Piwa : 2579
Daj linijki z b??dami tylko
Wysłany: 2008-04-29, 17:42
War3st
Wiek: 27 Na forum: 6826 dni Posty: 24
Nick w MP: War3st
Piwa : 55
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.
Wysłany: 2008-04-29, 17:43
Robert007
Wiek: 35 Na forum: 6714 dni Posty: 223
Piwa : 11851
brak klamry
Wysłany: 2008-04-29, 17:45
War3st
Wiek: 27 Na forum: 6826 dni Posty: 24
Nick w MP: War3st
Piwa : 55
tylko powiedz gdzie, bo szuuuka?em wszedzie i nic
Wysłany: 2008-04-29, 17:46
Robert007
Wiek: 35 Na forum: 6714 dni Posty: 223
Piwa : 11851
to moze pokarz ten kod ?
od 1662 do 1738 - linijki
Wysłany: 2008-04-29, 17:48
War3st
Wiek: 27 Na forum: 6826 dni Posty: 24
Nick w MP: War3st
Piwa : 55
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!
Potrzebuje tej mapki dla mojego servera i nie moge czeka?
Wysłany: 2008-04-29, 20:29
Alan
Pawno Team
Wiek: 31 Na forum: 6760 dni Posty: 56
Piwa : 351
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];
Tagi: błędy :: przy :: kompilacji :: rozwiązanie
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: