habe erors Ö__ö pls um hilfe hier die erors C:\Programme\Rockstar Games\gamemodes\Pimmelwixkopf.pwn(86) : warning 217: loose indentation
C:\Programme\Rockstar Games\gamemodes\Pimmelwixkopf.pwn(762) : error 029: invalid expression, assumed zero
C:\Programme\Rockstar Games\gamemodes\Pimmelwixkopf.pwn(762) : warning 215: expression has no effect
C:\Programme\Rockstar Games\gamemodes\Pimmelwixkopf.pwn(762) : error 001: expected token: ";", but found "if"
C:\Programme\Rockstar Games\gamemodes\Pimmelwixkopf.pwn(764) : error 029: invalid expression, assumed zero
C:\Programme\Rockstar Games\gamemodes\Pimmelwixkopf.pwn(764) : warning 215: expression has no effect
C:\Programme\Rockstar Games\gamemodes\Pimmelwixkopf.pwn(764) : error 001: expected token: ";", but found "if"
C:\Programme\Rockstar Games\gamemodes\Pimmelwixkopf.pwn(1140) : warning 217: loose indentation
C:\Programme\Rockstar Games\gamemodes\Pimmelwixkopf.pwn(1246) : error 017: undefined symbol "c"
C:\Programme\Rockstar Games\gamemodes\Pimmelwixkopf.pwn(1247) : error 017: undefined symbol "c"
und hier die problempunkte
[760-765] (von oben fängt es mit 760 an und endet mit 765)
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.");
[das letzte ist 1140]
public OnPlayerUpdate(playerid)
{
if(GetPlayerVehicleSeat(playerid) == 0)
{
new vehicleid;
vehicleid = GetPlayerVehicleID(playerid);
if(GetVehicleModel(vehicleid) != 509 && GetVehicleModel(vehicleid) != 481 && GetVehicleModel(vehicleid) != 510)
{
new string[125];
if(Tank[vehicleid] < 10) format(string,sizeof string,"~w~Tank: ~r~%i",Tank[vehicleid]);
else if(Tank[vehicleid] < 30) format(string,sizeof string,"~w~Tank: ~y~%i",Tank[vehicleid]);
else if(Tank[vehicleid] <= 100) format(string,sizeof string,"~w~Tank: ~g~%i",Tank[vehicleid]);
TextDrawSetString(Anzeige[playerid],string);
}
}
else
[1244-1252]
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;
}
}
}