error 033: array must be indexed (variable "dir")
error 033: array must be indexed (variable "hasloGracza")
Co to za b??d ? Podaj? Wam linijki:
dir = strtok(cmdtext, idx);
hasloGracza = strtok(cmdtext, idx);
Na ?yczenie mog? da? map?, prosz? o pomoc, nagrodz? piffkiem lub nawet do?adowaniem telefonu (5z?)!
C:\Documents and Settings\Remol\Moje dokumenty\Pobieranie\Polski DM+STUNT\PWN\lv2m.pwn(635) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Remol\Moje dokumenty\Pobieranie\Polski DM+STUNT\PWN\lv2m.pwn(635) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Remol\Moje dokumenty\Pobieranie\Polski DM+STUNT\PWN\lv2m.pwn(637) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Remol\Moje dokumenty\Pobieranie\Polski DM+STUNT\PWN\lv2m.pwn(637) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Remol\Moje dokumenty\Pobieranie\Polski DM+STUNT\PWN\lv2m.pwn(4827) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Remol\Moje dokumenty\Pobieranie\Polski DM+STUNT\PWN\lv2m.pwn(4839) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Remol\Moje dokumenty\Pobieranie\Polski DM+STUNT\PWN\lv2m.pwn(4840) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Remol\Moje dokumenty\Pobieranie\Polski DM+STUNT\PWN\lv2m.pwn(5384) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
if(strcmp(cmd, "/wrzuc2", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] < 1337)
{
if(IsACopHA(playerid))
{
if(IsPlayerInAnyVehicle(playerid))
{
SendClientMessage(playerid, COLOR_GREY, " Nie mo?esz u?ywa? tego, gdy jeste? w samochodzie !");
return 1;
}
tmp = strtok(cmdtext, idx);
if (!strlen(tmp))
return SendClientMessage(playerid, COLOR_WHITE, "U?YJ: /wrzuc2 [id/nick] [id siedzenia]");
giveplayerid = ReturnUser(tmp);
tmp = strtok(cmdtext, idx);
if (!strlen(tmp))
return SendClientMessage(playerid, COLOR_WHITE, "U?YJ: /wrzuc2 [id/nick] [id siedzenia]");
new seat = strval(tmp);
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != INVALID_PLAYER_ID)
{
if(seat < 1 || seat > 3) // this stays, that or the moron /detain'ing will put his suspect as driver
{
SendClientMessage(playerid, COLOR_GRAD1, "Miejsce nie moze byc powyzej 3 i ponizej 1.");
return 1;
}
if(IsACop(giveplayerid) || IsAHA(giveplayerid)) //ovbiously, you know what this does
{
SendClientMessage(playerid, COLOR_GREY, " Nie mo?esz wrzucac Policjantow !");
return 1;
}
if(IsPlayerInAnyVehicle(giveplayerid)) // no need to explain
{
SendClientMessage(playerid, COLOR_GREY, " Podejrzany jest w wozie, wyci?gnij go najpierw !");
return 1;
}
if (ProxDetectorS(8.0, playerid, giveplayerid))
{
if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, "Nie mo?esz wrzucic siebie!"); return 1; }
if(PlayerCuffed[giveplayerid] == 2)
{
new carid = gLastCar[playerid];
new Float:DPositions[3][3];
GetPlayerPos( playerid, DPositions[0][0], DPositions[0][1], DPositions[0][2]);
GetPlayerPos( giveplayerid, DPositions[1][0], DPositions[1][1], DPositions[1][2]);
GetVehiclePos( carid, DPositions[2][0], DPositions[2][1], DPositions[2][2]); // makes it so you need to be close to your car
if(GetDistance( DPositions[0][0], DPositions[0][1], DPositions[0][2], DPositions[1][0], DPositions[1][1], DPositions[1][2]) < 15.0 )
if(GetDistance( DPositions[0][0], DPositions[0][1], DPositions[0][2], DPositions[2][0], DPositions[2][1], DPositions[2][2]) < 15.0 )
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "Zosta?e? wrzucony do wozu przez %s .", sendername);
SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string);
format(string, sizeof(string), "* Wrzuci?e? do wozu %s .", giveplayer);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
format(string, sizeof(string), "* %s wrzuca %s do wozu.", sendername ,giveplayer);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GameTextForPlayer(giveplayerid, "~r~Wrzucony", 2500, 3);
ClearAnimations(giveplayerid);
TogglePlayerControllable(giveplayerid, 0);
PutPlayerInVehicle(giveplayerid,carid,seat);
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ten gracz nie jest zablokowany !"); // for this, i have a /skuj
return 1;
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Nie Jeste? odpowiednio blisko bo kogos wrzucic!"); // fixed
return 1;
}
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ten gracz jest offline !");
return 1;
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD2, " Nie Jeste? z sluzb porzadkowych");
}
}
return 1;
}
Siema przy kompilacji mapki wyskakuje mi co? takiego
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(3835) : warning 202: number of arguments does not match definition
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(3835) : warning 202: number of arguments does not match definition
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(3835) : warning 215: expression has no effect
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(3835) : warning 215: expression has no effect
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(3835) : warning 215: expression has no effect
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(3835) : warning 215: expression has no effect
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(3835) : warning 215: expression has no effect
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(3835) : warning 215: expression has no effect
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(3835) : warning 215: expression has no effect
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(3835) : error 001: expected token: ";", but found ")"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(3835) : error 029: invalid expression, assumed zero
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(3835) : warning 215: expression has no effect
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(4844) : error 017: undefined symbol "SetPlayerWalkingStyle"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(6699) : error 017: undefined symbol "SetPlayerWalkingStyle"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(6703) : error 017: undefined symbol "SetPlayerWalkingStyle"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(6707) : error 017: undefined symbol "SetPlayerWalkingStyle"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(6711) : error 017: undefined symbol "SetPlayerWalkingStyle"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(6715) : error 017: undefined symbol "SetPlayerWalkingStyle"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(6719) : error 017: undefined symbol "SetPlayerWalkingStyle"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(6723) : error 017: undefined symbol "SetPlayerWalkingStyle"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(6727) : error 017: undefined symbol "SetPlayerWalkingStyle"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(6731) : error 017: undefined symbol "SetPlayerWalkingStyle"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(6740) : error 017: undefined symbol "SetPlayerWalkingStyle"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(6744) : error 017: undefined symbol "SetPlayerWalkingStyle"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(6748) : error 017: undefined symbol "SetPlayerWalkingStyle"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(6752) : error 017: undefined symbol "SetPlayerWalkingStyle"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(9216) : error 017: undefined symbol "MAPA"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(9216) : error 017: undefined symbol "BY"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(9216) : error 029: invalid expression, assumed zero
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(9216) : fatal error 107: too many error messages on one line
lemonka, pobierz includa http://www.speedyshare.co...4/seif_walk.inc za?atwi po?ow? error?w.
Linia 3835 - zapomnia?e? o ";"
Linia 9216 - zdefiniuj podane symbole np. "new mapa;", ale chyba z tego co widz? zapomnia?es o cudzys?owie bo jest "mapa by" xD
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(3835) : warning 202: number of arguments does not match definition
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(3835) : warning 202: number of arguments does not match definition
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(3835) : warning 215: expression has no effect
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(3835) : warning 215: expression has no effect
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(3835) : warning 215: expression has no effect
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(3835) : warning 215: expression has no effect
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(3835) : warning 215: expression has no effect
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(3835) : warning 215: expression has no effect
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(3835) : warning 215: expression has no effect
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(3835) : error 001: expected token: ";", but found ")"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(3835) : error 029: invalid expression, assumed zero
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(3835) : warning 215: expression has no effect
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(4844) : error 017: undefined symbol "SetPlayerWalkingStyle"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(6699) : error 017: undefined symbol "SetPlayerWalkingStyle"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(6703) : error 017: undefined symbol "SetPlayerWalkingStyle"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(6707) : error 017: undefined symbol "SetPlayerWalkingStyle"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(6711) : error 017: undefined symbol "SetPlayerWalkingStyle"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(6715) : error 017: undefined symbol "SetPlayerWalkingStyle"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(6719) : error 017: undefined symbol "SetPlayerWalkingStyle"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(6723) : error 017: undefined symbol "SetPlayerWalkingStyle"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(6727) : error 017: undefined symbol "SetPlayerWalkingStyle"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(6731) : error 017: undefined symbol "SetPlayerWalkingStyle"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(6740) : error 017: undefined symbol "SetPlayerWalkingStyle"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(6744) : error 017: undefined symbol "SetPlayerWalkingStyle"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(6748) : error 017: undefined symbol "SetPlayerWalkingStyle"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(6752) : error 017: undefined symbol "SetPlayerWalkingStyle"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(10597) : warning 235: public function lacks forward declaration (symbol "GameModeInitExitFunc")
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(10619) : warning 235: public function lacks forward declaration (symbol "GameModeExitFunc")
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(56429) : error 029: invalid expression, assumed zero
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(56429 -- 56430) : error 029: invalid expression, assumed zero
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(56429 -- 56430) : warning 215: expression has no effect
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(56430) : error 001: expected token: ";", but found "if"
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(56430) : fatal error 107: too many error messages on one line
[ Dodano: 2011-02-12, 22:06 ]
10597 public GameModeInitExitFunc()
10619 public GameModeExitFunc()
56429 }*/
56430 else if(GetPlayerState(i) == 1 && (PlayerToPoint(1.0, i, 493.0257,-1517.4747,20.3601)))
[ Dodano: 2011-02-12, 22:07 ]
Linijki to te u g?ry
[ Dodano: 2011-02-12, 22:10 ]
PS Shaun masz piwko za pomoc i czekam dalej
[ Dodano: 2011-02-12, 22:14 ]
Aha zapomnia?em teraz doda?e ten seif walk i wyskakuje co? takiego:
C:\DOCUME~1\FILLLLL\Pulpit\mapy\BLUERP~1.PWN(7) : fatal error 100: cannot read from file: "seif_walk"
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