Guten Tag Community,
bekomme gerade diese errors
C:\Users\KorayAhmet\Downloads\German Action Reallife\samp03e_svr_R2_win32\gamemodes\tutorial.pwn(337) : error 001: expected token: ")", but found ";"
C:\Users\KorayAhmet\Downloads\German Action Reallife\samp03e_svr_R2_win32\gamemodes\tutorial.pwn(337) : error 036: empty statement
C:\Users\KorayAhmet\Downloads\German Action Reallife\samp03e_svr_R2_win32\gamemodes\tutorial.pwn(337) : error 029: invalid expression, assumed zero
C:\Users\KorayAhmet\Downloads\German Action Reallife\samp03e_svr_R2_win32\gamemodes\tutorial.pwn(337) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
if(strcmp(cmdtext, "/tanken", true) == 0)
{
if (GetPlayerVehicleSeat(playerid); != 0); return SendClientMessage(playerid,ROT,"Du bist in keinem Fahrzeug (oder kein Fahrer).");#
new car = GetPlayerVehicleID(playerid);
else if (TanktGerade[car]); return SendClientMessage(playerid,ROT,"Du tankst schon!");
else if (Motor[car] == true); return SendClientMessage(playerid,ROT,"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,BLAU,"Du hast nicht genug Geld!");
GivePlayerMoney(playerid, -preis);
SendClientMessage(playerid, BLAU, "Tanken wird gestartet.");
SetCameraBehindPlayer(playerid);
TogglePlayerControllable(playerid,0);
TanktGerade[car] = true;
tanktimer[playerid] = SetTimerEx("Auftanken",500,true,"i",playerid);
return 1;
}