Hi.
Folgender Code:
if(PlayerInfo[playerid][StuntMode] == 1)
{
new tmp = GetPlayerVehicleID(playerid);
if(IsValidNitroVehicle(tmp))
{
AddVehicleComponent(tmp,1010);
}
SetVehicleHealth(tmp,1000.0);
RepairVehicle(tmp);
}
Was daran stimmt nicht?
lg