Habe folgendes Problem bekomme mehrer Errors frage mich nur warum hier die Errors: C:\Users\Julien\Desktop\pawno\gamemodes\SoG.pwn(3578) : error 025: function heading differs from prototype
C:\Users\Julien\Desktop\pawno\gamemodes\SoG.pwn(4602) : error 001: expected token: ")", but found "-identifier-"
C:\Users\Julien\Desktop\pawno\gamemodes\SoG.pwn(4602 -- 4603) : warning 215: expression has no effect
C:\Users\Julien\Desktop\pawno\gamemodes\SoG.pwn(4603) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Julien\Desktop\pawno\gamemodes\SoG.pwn(4603) : warning 217: loose indentation
C:\Users\Julien\Desktop\pawno\gamemodes\SoG.pwn(4603 -- 4604) : warning 215: expression has no effect
C:\Users\Julien\Desktop\pawno\gamemodes\SoG.pwn(4604) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Julien\Desktop\pawno\gamemodes\SoG.pwn(4604) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
Die Zeilen jeweils:
Ab 4000:
stock IsACar(playerid)
{
new modelid = GetVehicleModel(GetPlayerVehicleID(playerid));
if (modelid == 405 ||modelid == 404 || modelid == 402 || modelid == 401 || modelid == 400 || modelid == 420 || modelid == 409
modelid == 409 ||modelid == 410 || modelid == 411 || modelid == 412 || modelid == 415 || modelid == 418 || modelid == 419
modelid == 420 ||modelid == 421 || modelid == 422 || modelid == 426 || modelid == 429 || modelid == 436 || modelid == 438
modelid == 439 ||modelid == 442 || modelid == 445 || modelid == 451 || modelid == 458 || modelid == 466 || modelid == 467
modelid == 470 ||modelid == 474 || modelid == 475 || modelid == 477 || modelid == 478
modelid == 479 ||modelid == 480 || modelid == 489 || modelid == 490 || modelid == 491
modelid == 492 ||modelid == 494 || modelid == 495 || modelid == 500 || modelid == 502
modelid == 503 ||modelid == 504 || modelid == 505 || modelid == 506 || modelid == 507
modelid == 516 ||modelid == 517 || modelid == 518 || modelid == 526 || modelid == 527
modelid == 529 ||modelid == 533 || modelid == 534 || modelid == 535 || modelid == 536
modelid == 540 ||modelid == 541 || modelid == 542 || modelid == 543 || modelid == 545
modelid == 546 ||modelid == 547 || modelid == 549 || modelid == 550 || modelid == 551
modelid == 552 ||modelid == 555 || modelid == 554 || modelid == 558 || modelid == 559
modelid == 560 ||modelid == 561 || modelid == 562 || modelid == 565 || modelid == 566
modelid == 567 ||modelid == 568 || modelid == 574 || modelid == 575 || modelid == 576
modelid == 579 ||modelid == 580 || modelid == 585 || modelid == 587 || modelid == 589
modelid == 596 ||modelid == 597 || modelid == 598 || modelid == 599 || modelid == 600
modelid == 602 ||modelid == 603 || modelid == 604 || modelid == 605)
}
und bei 3000(Ganze Funktion):public OnPlayerStateChange(vehicleid, playerid, newstate, oldstate)
{
if(newstate==PLAYER_STATE_DRIVER)
{
for(new i=0; i<sizeof(taxi5); i++)
{
if(GetPlayerVehicleID(playerid)==taxi5[i])
{
if(GetPVarInt(playerid,"Fraktion")!=7)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,ROT,"Du bist kein Taxifahrer!");
}
}
}
for(new i=0; i<sizeof(pdcar); i++)
{
if(GetPlayerVehicleID(playerid)==pdcar[i])
{
if(GetPVarInt(playerid,"Fraktion")==0)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,ROT,"Du bist kein Polizist!");
}
if(GetPVarInt(playerid,"Fraktion")==3)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,ROT,"Du bist kein Polizist!");
}
if(GetPVarInt(playerid,"Fraktion")==7)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,ROT,"Du bist kein Polizist!");
}
if(GetPVarInt(playerid,"Fraktion")==6)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,ROT,"Du bist kein Polizist!");
}
}
}
if(IsACar(vehicleid))
{
if(GetPVarInt(playerid,"fahrschein")==0)
{
SendClientMessage(playerid,ROT,"Du fährst ohne Führerschein!");
SendClientMessage(playerid,ROT,"Pass auf das du nicht von der Polizei angehalten wirst!");
SendClientMessage(playerid,ROT,"Sonst drohen dir Konsequenzen!");
SendClientMessage(playerid,ROT,"Kaufe dir lieber ein Führerschein in der Stadthalle.");
}
}
SendClientMessage(playerid,WEISS,"Drücke LMB(Linke Maustaste) oder ALT um den Motor zu starten/stoppen!");
return 1;
}
Weiß jemand woran es liegt?