Hallo, ich bekomme zu diesen Skriptzeilen:
else if(motor[vehicleid] == false)
{
motor[vehicleid] = true;
SetTimerEx("MotorStarten",7000,0,"i",playerid);
SetPlayerChatBubble(playerid, string, GRUEN, 30.0, 2000);
}
else if(motor[vehicleid] == true)
{
GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(vehicleid,VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective);
motor[vehicleid] = false;
}
Folgende Errorcodes:
C:\Users\Marcel\Desktop\Selfmade Script\gamemodes\gege.pwn(4844) : error 029: invalid expression, assumed zero
C:\Users\Marcel\Desktop\Selfmade Script\gamemodes\gege.pwn(4844) : warning 215: expression has no effect
C:\Users\Marcel\Desktop\Selfmade Script\gamemodes\gege.pwn(4844) : error 001: expected token: ";", but found "if"
C:\Users\Marcel\Desktop\Selfmade Script\gamemodes\gege.pwn(4844) : error 028: invalid subscript (not an array or too many subscripts): "motor"
C:\Users\Marcel\Desktop\Selfmade Script\gamemodes\gege.pwn(4844) : fatal error 107: too many error messages on one line
Meine Frage: Wieso bekomme ich diese Errorcodes?