Hello.
Ez az én gondom...
error 029: invalid expression, assumed zero
error 004: function \"Streamer_OnFilterScriptInit\" is not implemented
error 001: expected token: \";\", but found \"return\"
fatal error 107: too many error messages on one line
Hibás sor:
public OnFilterScriptInit() return print(\" *|Epsilon Nitrous|*\"),1;
Egész kód:
public OnFilterScriptInit() return print(\" *|Epsilon Nitrous|*\"),1;
public OnPlayerExitVehicle(playerid,vehicleid) RemoveVehicleComponent(vehicleid, 1010);
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER || !CheckNitro(GetPlayerVehicleID(playerid))) return false; else if ((((newkeys & (4)) == (4)) && ((oldkeys & (4)) != (4)))) AddVehicleComponent(GetPlayerVehicleID(playerid), 1010); else if ((((newkeys & (4)) != (4)) && ((oldkeys & (4)) == (4)))) RemoveVehicleComponent(GetPlayerVehicleID(playerid), 1010);
return 1;
}
CheckNitro(vid)
{
new NoNitro[] = { 522,481,441,468,448,446,513,521,510,430,520,476,463 }; // unknown
for(new e = 0; e < sizeof(NoNitro); e++) if(GetVehicleModel(vid) == NoNitro[e]) return false;
return true;
}
Valki segítene? :/