if(strcmp(cmdtext, "/fill", true) == 0)
{
else if (GetPlayerVehicleSeat(playerid) != 0) return SendClientMessage(playerid,grau,"Du bist in keinem Fahrzeug (oder kein Fahrer).");// zeile 589
new car = GetPlayerVehicleID(playerid);
else if (TanktGerade[car]) return SendClientMessage(playerid,grau,"Du tankst schon...");//zeile 591
else if (Motor[car] == true) return SendClientMessage(playerid,weiß,"Du musst vor dem Tanken den Motor ausschalten.");
new ZuTanken = 100-Tank[car];
new preis = ZuTanken * BENZINPREIS;
if (GetPlayerMoney(playerid)-preis < 0) return SendClientMessage(playerid,grau,"Du hast nicht genug Geld!");
GivePlayerMoney(playerid, -preis);
SendClientMessage(playerid, weiß, "Dein Fahreug wird betankt....");
SetCameraBehindPlayer(playerid);
TogglePlayerControllable(playerid,0);
TanktGerade[car] = true;
tanktimer[playerid] = SetTimerEx("Auftanken",500,true,"i",playerid);
return 1;
}
kann mir einer helfen?
C:\Users\Tufan\Desktop\Selfmade!\gamemodes\meinselfmade.01.pwn(589) : error 029: invalid expression, assumed zero
C:\Users\Tufan\Desktop\Selfmade!\gamemodes\meinselfmade.01.pwn(589) : warning 215: expression has no effect
C:\Users\Tufan\Desktop\Selfmade!\gamemodes\meinselfmade.01.pwn(589) : error 001: expected token: ";", but found "if"
C:\Users\Tufan\Desktop\Selfmade!\gamemodes\meinselfmade.01.pwn(591) : error 029: invalid expression, assumed zero
C:\Users\Tufan\Desktop\Selfmade!\gamemodes\meinselfmade.01.pwn(591) : warning 215: expression has no effect
C:\Users\Tufan\Desktop\Selfmade!\gamemodes\meinselfmade.01.pwn(591) : error 001: expected token: ";", but found "if"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.