Tag ich bräuchte mal kurz Hilfe... habe 6 Errors...
Error:
C:\Users\Felix\Desktop\selfmade\gamemodes\Selfmade.pwn(399) : error 029: invalid expression, assumed zero
C:\Users\Felix\Desktop\selfmade\gamemodes\Selfmade.pwn(399) : warning 215: expression has no effect
C:\Users\Felix\Desktop\selfmade\gamemodes\Selfmade.pwn(399) : error 001: expected token: ";", but found "if"
C:\Users\Felix\Desktop\selfmade\gamemodes\Selfmade.pwn(401) : error 029: invalid expression, assumed zero
C:\Users\Felix\Desktop\selfmade\gamemodes\Selfmade.pwn(401) : warning 215: expression has no effect
C:\Users\Felix\Desktop\selfmade\gamemodes\Selfmade.pwn(401) : error 001: expected token: ";", but found "if"
C:\Users\Felix\Desktop\selfmade\gamemodes\Selfmade.pwn(1122) : error 017: undefined symbol "c"
C:\Users\Felix\Desktop\selfmade\gamemodes\Selfmade.pwn(1123) : error 017: undefined symbol "c"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Errors.
Zeile 399,401:
if(strcmp(cmdtext, "/tanken", true) == 0)
{
else if (GetPlayerVehicleSeat(playerid) != 0) return SendClientMessage(playerid,ROT,"Du bist in keinem Fahrzeug (oder kein Fahrer).");//399
new car = GetPlayerVehicleID(playerid);
else if (TanktGerade[car]) return SendClientMessage(playerid,ROT,"Du tankst schon!");//401
else if (Motor[car] == true) return SendClientMessage(playerid,ROT,"Du musst vor dem Tanken den Motor ausschalten.");
Zeile 1122,1123:
GetVehicleParamsEx(c,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(c,VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective);