habe erors und brauche hilfe pls
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(1247) : error 017: undefined symbol "c"
C:\Programme\Rockstar Games\gamemodes\Pimmelwixkopf.pwn(1248) : error 017: undefined symbol "c"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Hilfe bei tank und autosistem
- Fly0in0the0Sky
- Geschlossen
- Erledigt
-
-
dir fehlen so ; welche schick mal den Code dan kann ich mal nachgucken
-
ok sry warte hier die cods von
[760-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.");ganz unten ist 1140 [else also]
{
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[1245-1250]
{
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;
}
geht nach der reihe runter !! -
breadfish.de
Hat das Thema geschlossen.