Was ist daran falsch?...
new vid=GetPlayerVehicleID(playerid);
if(Licht[vid]==true)
{
new engine,lights,alarm,doors,bonnet,boot,objective;
GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(vid,engine,0,alarm,doors,bonnet,boot,objective);
Licht[vid]=false;
}
else if(Licht[vid]==false)
{
new engine,lights,alarm,doors,bonnet,boot,objective;
GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(vid,engine,1,alarm,doors,bonnet,boot,objective);
Licht[vid]=true;
}
Habe keine Errors aber ingame passiert nix