Hab dir in der Zeile kommentiert, was falsch ist
public OnPlayerStateChange(playerid, newstate, oldstate)
{
new modelid = GetPlayerVehicleID(playerid);
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
if(modelid == 472 || modelid == 473 || modelid == 493 || modelid == 595 || modelid == 484 || modelid == 430 || modelid == 453 || modelid == 452 || modelid == 446 || modelid == 454 )
{
if(PlayerInfo[playerid][pBootschein] == 0)
{
SendClientMessage(playerid, ROT, " Du hast keine Bootschein");
}
}
else if(modelid == 592 || modelid == 577 || modelid == 511 || modelid == 512 || modelid == 593 || modelid == 520 || modelid == 553 || modelid == 476 || modelid == 519 || modelid == 460 || /* hier fehlte ein || */ modelid == 513 || modelid == 548 || modelid == 425 || modelid == 417 || modelid == 487 || modelid == 488 || modelid == 497 || modelid == 563 || modelid == 447 || modelid == 469 ) // 777
{
if(PlayerInfo[playerid][pFlugschein] == 0)
{
SendClientMessage(playerid, ROT, " Du hast keinen Flugschein !");
}
}
else
{
SendClientMessage(playerid, ROT, " Du hast keinen Führerschein, ");
SendClientMessage(playerid, ROT, " Solltest du erwischt werden, ");
SendClientMessage(playerid, ROT, " musst du mit Konsequenzen rechnen. !");
}
}
return 1;
}