Errors
C:\Users\Brandon\Desktop\[Ger]Your Second Familie[0.3x]\gamemodes\Familie.pwn(94) : error 017: undefined symbol "SpielerName"
C:\Users\Brandon\Desktop\[Ger]Your Second Familie[0.3x]\gamemodes\Familie.pwn(105) : error 055: start of function body without function header
C:\Users\Brandon\Desktop\[Ger]Your Second Familie[0.3x]\gamemodes\Familie.pwn(176) : error 029: invalid expression, assumed zero
C:\Users\Brandon\Desktop\[Ger]Your Second Familie[0.3x]\gamemodes\Familie.pwn(176) : warning 215: expression has no effect
C:\Users\Brandon\Desktop\[Ger]Your Second Familie[0.3x]\gamemodes\Familie.pwn(176) : error 001: expected token: ";", but found "if"
C:\Users\Brandon\Desktop\[Ger]Your Second Familie[0.3x]\gamemodes\Familie.pwn(176) : error 079: inconsistent return types (array & non-array)
C:\Users\Brandon\Desktop\[Ger]Your Second Familie[0.3x]\gamemodes\Familie.pwn(176) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Errors.
if(strcmp(cmdtext, "/tanken", true) == 0)
{
else if (GetPlayerVehicleSeat(playerid) != 0) return SendClientMessage(playerid,DUNKELROT,"Du bist in keinem Fahrzeug oder du bist kein Fahrer.");//Zeile 176
new car = GetPlayerVehicleID(playerid);
else if (TanktGerade[car]) return SendClientMessage(playerid,HELLBLAU,"Du tankst bereits !");
else if (Motor[car] == true) return SendClientMessage(playerid,HELLBLAU,"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,HELLBLAU,"Du hast nicht genug Geld um zu Tanken !");
GivePlayerMoney(playerid, -preis);
SendClientMessage(playerid,HELLBLAU, "Das Tanken wird gestartet.");
SetCameraBehindPlayer(playerid);
TogglePlayerControllable(playerid,0);
TanktGerade[car] = true;
tanktimer[playerid] = SetTimerEx("Auftanken",500,true,"i",playerid);
return 1;
}
return 0;
}