C:\Programme\Rockstar Games\gamemodes\Pimmelwixkopf.pwn(114) : error 017: undefined symbol "c"
C:\Programme\Rockstar Games\gamemodes\Pimmelwixkopf.pwn(115) : error 017: undefined symbol "c"
C:\Programme\Rockstar Games\gamemodes\Pimmelwixkopf.pwn(865) : error 029: invalid expression, assumed zero
C:\Programme\Rockstar Games\gamemodes\Pimmelwixkopf.pwn(865) : warning 215: expression has no effect
C:\Programme\Rockstar Games\gamemodes\Pimmelwixkopf.pwn(865) : error 001: expected token: ";", but found "if"
C:\Programme\Rockstar Games\gamemodes\Pimmelwixkopf.pwn(867) : error 029: invalid expression, assumed zero
C:\Programme\Rockstar Games\gamemodes\Pimmelwixkopf.pwn(867) : warning 215: expression has no effect
C:\Programme\Rockstar Games\gamemodes\Pimmelwixkopf.pwn(867) : error 001: expected token: ";", but found "if"
C:\Programme\Rockstar Games\gamemodes\Pimmelwixkopf.pwn(1854) : warning 203: symbol is never used: "pay"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
die zeilen hier :
public BenzinVerlust()
{
for(new i=0; i<MAX_VEHICLES; i++)
{
if (Motor[i] == true)
{
Tank[i] = Tank[i]-1;
if (Tank[i]<1)
{
Tank[i] = 0;
GetVehicleParamsEx(c,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(c,VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective);
Motor[i] = false;
}
}
}
return 1;
}
865 fengt bei else if an
if(strcmp(cmdtext, "/tanken", true) == 0)
{
else 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,ROT,"Du hast nicht genug Geld!");
GivePlayerMoney(playerid, -preis);
SendClientMessage(playerid,GREEN, "Tanken wird gestartet.");
SetCameraBehindPlayer(playerid);
TogglePlayerControllable(playerid,0);
TanktGerade[car] = true;
tanktimer[playerid] = SetTimerEx("Auftanken",500,true,"i",playerid);
return 1;
}