Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/24/2020 in all areas

  1. Username: Alexandru#1337 Creator: 77777 (tot eu) Tutorial/Ghid: mai jos [Protected content] La lideri, helperi, membrii anumitei factiuni etc. se face la fel. Succes.
    1 point
  2. Am sa va las cateva videoclipuri de unde va puteti inspira despre cum sa faceti cativa banuti online, nu e nevoie sa prezint mai mult, sunt destul de explicate in urmatoarele videoclipuri. O sa mai urmeze cateva tutoriale scrise de mine, momentan nu am avut timp sa fac unul, dar am sa va las cateva videoclipuri din care m-am inspirat si eu, si posibil sa va ajute si pe voi. [Protected content]
    1 point
  3. Frumos, ma bucur ca v-ati facut drum si pe aici.
    1 point
  4. task CheckGas[RunOutTime]() { new engine, lights, alarm, doors, bonnet, boot, objective; foreach(new i : Player) { if(GetPlayerState(i) == PLAYER_STATE_DRIVER) { new vehicle = GetPlayerVehicleID(i), query[128]; new spe = Carspeed(GetPlayerVehicleID(i)); if(Gas[vehicle] >= 1) { if(vehEngine[vehicle] == 1 && !IsPlayerPaused(i)) { if(noFuelVehicles(vehicle) || IsABoat(vehicle) || ExamCar == vehicle || JobVehicle == vehicle) { Gas[vehicle]++; } if(!IsPlayerPaused(i)) Gas[vehicle]--; new carid = FindSpawnID(vehicle); if(CarInfo[carid][cID] != 0 && carid != 0) { if(spe > 5 && GetPlayerState(i) == PLAYER_STATE_DRIVER && GetPlayerVehicleID(i) == vehicle && !IsPlayerPaused(i)) { CarInfo[carid][KM] += (spe * 0.27) / 100; mysql_format(SQL, query, sizeof query, "UPDATE `cars` SET `KM` = '%f' WHERE `ID` = '%d'", CarInfo[carid][KM], CarInfo[carid][cID]); mysql_tquery(SQL, query, "", ""); } } } } else if(!IsAFLYCar(vehicle)) { NoFuel = 1; GameTextForPlayer(i, "Fara benzina", 1500, 3); vehEngine[vehicle] = 0; GetVehicleParamsEx(vehicle, engine, lights, alarm, doors, bonnet, boot, objective); SetVehicleParamsEx(vehicle, VEHICLE_PARAMS_OFF, lights, alarm, doors, bonnet, boot, objective); SetPVarInt(i, "Engine", 0); } } } return true; }
    1 point
  5. task CheckGas[RunOutTime]() { new engine, lights, alarm, doors, bonnet, boot, objective; foreach(new i : Player) { if(GetPlayerState(i) == PLAYER_STATE_DRIVER) { new vehicle = GetPlayerVehicleID(i), query[128]; new spe = Carspeed(GetPlayerVehicleID(i)); if(Gas[vehicle] >= 1 && !IsPlayerPaused(i)) { if(vehEngine[vehicle] == 1) { if(noFuelVehicles(vehicle) || IsABoat(vehicle) || ExamCar == vehicle || JobVehicle == vehicle) { Gas[vehicle]++; } if(!IsPlayerPaused(i)) Gas[vehicle]--; new carid = FindSpawnID(vehicle); if(CarInfo[carid][cID] != 0 && carid != 0) { if(spe > 5 && GetPlayerState(i) == PLAYER_STATE_DRIVER && GetPlayerVehicleID(i) == vehicle && !IsPlayerPaused(i)) { CarInfo[carid][KM] += (spe * 0.27) / 100; mysql_format(SQL, query, sizeof query, "UPDATE `cars` SET `KM` = '%f' WHERE `ID` = '%d'", CarInfo[carid][KM], CarInfo[carid][cID]); mysql_tquery(SQL, query, "", ""); } } } } else if(!IsAFLYCar(vehicle)) { NoFuel = 1; GameTextForPlayer(i, "Fara benzina", 1500, 3); vehEngine[vehicle] = 0; GetVehicleParamsEx(vehicle, engine, lights, alarm, doors, bonnet, boot, objective); SetVehicleParamsEx(vehicle, VEHICLE_PARAMS_OFF, lights, alarm, doors, bonnet, boot, objective); SetPVarInt(i, "Engine", 0); } } } return true; }
    1 point
  6. task CheckGas[RunOutTime]() { new engine, lights, alarm, doors, bonnet, boot, objective; foreach(new i : Player) { if(GetPlayerState(i) == PLAYER_STATE_DRIVER) { new vehicle = GetPlayerVehicleID(i), query[128]; new spe = Carspeed(GetPlayerVehicleID(i)); if(spe < 1) return true; if(Gas[vehicle] >= 1) { if(vehEngine[vehicle] == 1) { if(noFuelVehicles(vehicle) || IsABoat(vehicle) || ExamCar == vehicle || JobVehicle == vehicle) { Gas[vehicle]++; } if(!IsPlayerPaused(i)) Gas[vehicle]--; new carid = FindSpawnID(vehicle); if(CarInfo[carid][cID] != 0 && carid != 0) { if(spe > 5 && GetPlayerState(i) == PLAYER_STATE_DRIVER && GetPlayerVehicleID(i) == vehicle && !IsPlayerPaused(i)) { CarInfo[carid][KM] += (spe * 0.27) / 100; mysql_format(SQL, query, sizeof query, "UPDATE `cars` SET `KM` = '%f' WHERE `ID` = '%d'", CarInfo[carid][KM], CarInfo[carid][cID]); mysql_tquery(SQL, query, "", ""); } } } } else if(!IsAFLYCar(vehicle)) { NoFuel = 1; GameTextForPlayer(i, "Fara benzina", 1500, 3); vehEngine[vehicle] = 0; GetVehicleParamsEx(vehicle, engine, lights, alarm, doors, bonnet, boot, objective); SetVehicleParamsEx(vehicle, VEHICLE_PARAMS_OFF, lights, alarm, doors, bonnet, boot, objective); SetPVarInt(i, "Engine", 0); } } } return true; }
    1 point
  7. function noFuelVehicles(vehicleid) { switch (GetVehicleModel(vehicleid)) { case 481, 509, 510, 460, 476, 511, 512, 513, 519, 520, 553, 577, 592, 593: return 1; } return 0; } task CheckGas[RunOutTime]() { new engine, lights, alarm, doors, bonnet, boot, objective; foreach(new i : Player) { if(GetPlayerState(i) == PLAYER_STATE_DRIVER) { new vehicle = GetPlayerVehicleID(i), query[128]; if(Gas[vehicle] >= 1) { if(vehEngine[vehicle] == 1) { if(noFuelVehicles(vehicle) || IsABoat(vehicle) || ExamCar == vehicle || JobVehicle == vehicle) { Gas[vehicle]++; } if(!IsPlayerPaused(i)) Gas[vehicle]--; new carid = FindSpawnID(vehicle); if(CarInfo[carid][cID] != 0 && carid != 0) { new spe = Carspeed(GetPlayerVehicleID(i)); if(spe > 5 && GetPlayerState(i) == PLAYER_STATE_DRIVER && GetPlayerVehicleID(i) == vehicle && !IsPlayerPaused(i)) { CarInfo[carid][KM] += (spe * 0.27) / 100; mysql_format(SQL, query, sizeof query, "UPDATE `cars` SET `KM` = '%f' WHERE `ID` = '%d'", CarInfo[carid][KM], CarInfo[carid][cID]); mysql_tquery(SQL, query, "", ""); } } } } else if(!IsAFLYCar(vehicle)) { NoFuel = 1; GameTextForPlayer(i, "Fara benzina", 1500, 3); vehEngine[vehicle] = 0; GetVehicleParamsEx(vehicle, engine, lights, alarm, doors, bonnet, boot, objective); SetVehicleParamsEx(vehicle, VEHICLE_PARAMS_OFF, lights, alarm, doors, bonnet, boot, objective); SetPVarInt(i, "Engine", 0); } } } return true; } Incearca asa
    1 point
  8. 1 point
  9. 1 point
  10. nu pare sa fie aici problema, functia se numea checkgas sau ceva de genu'
    1 point
  11. st0ry1337

    Recrutez - Mapper

    +rep
    1 point
  12. Flint

    Va sal

    Va sal
    1 point
  13. k4rma

    Saints 1.3 'alpha'

    hai sa il bagam la teste si pe asta :))))
    1 point
  14. Flint

    Saints 1.3 'alpha'

    oare sa-i duc editu mai departe?
    1 point
This leaderboard is set to Bucharest/GMT+02:00
×
×
  • Create New...