C:\Users\Dennis\Desktop\Resis Second RealLife\gamemodes\ReSRealLife.pwn(144) : error 036: empty statement
C:\Users\Dennis\Desktop\Resis Second RealLife\gamemodes\ReSRealLife.pwn(146) : error 017: undefined symbol "y"
C:\Users\Dennis\Desktop\Resis Second RealLife\gamemodes\ReSRealLife.pwn(147) : error 017: undefined symbol "SetVehicleParmsEx"
C:\Users\Dennis\Desktop\Resis Second RealLife\gamemodes\ReSRealLife.pwn(148) : error 017: undefined symbol "y"
C:\Users\Dennis\Desktop\Resis Second RealLife\gamemodes\ReSRealLife.pwn(1105) : error 076: syntax error in the expression, or invalid function call
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
for( new y = 0;y<MAX_VEHICLES;y++); //Zeile 144-148
{
GetVehicleParamsEx(y,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParmsEx(y,VEHICLE_PARAMS_OFF,lights,alarm,doors,boot,obkjective);
Motor[y] = false;
}
[pwn]ocmd:motor(playerid,params[])
{
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
new vehicleid = GetPlayerVehicleID; //Zeile 1105
if(GetVehicleModel(vehicleid) == 509 GetVehicleModel(vehicleid) == 481 GetVehicleModel(vehicleid) == 510)
{
SendClientMessage(playerid,Rot,"Ein Fahrrad besitzt kein Motor. :D");
Motor[vehicleid] = false;
}
else if(Motor[vehicleid] == false)
{
GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(vehicleid,VEHICLE_PARAMS_ON,lights,alarm,doors,bonnet,boot,objective);
SendClientMessage(playerid,Grün,"Motor gestartet.");
Motor[vehicleid] = true;
}
else
{
GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(vehicleid,VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective);
SendClientMessage(playerid, Rot,"Motor ausgeschaltet.");
Motor[vehicleid] = false;
}
}
return 1;
}[/pwn}