Jump to content

HunT

Retired Staff
  • Posts

    1,390
  • Joined

  • Last visited

  • Days Won

    1

HunT last won the day on September 3

HunT had the most liked content!

About HunT

  • Birthday 18/07/1991

Member Title

  • Retired Staff

Details

  • Gang
    PRO|Race
  • Location
    Italia
  • Occupation
    Scripter, 3D modeler
  • Interests
    Music - Games - Scripting

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

HunT's Achievements

Lil' G

Lil' G (37/54)

34

Reputation

  1. Actually, I wasn't the one who said AI was stupid I just said that for now, especially chatgpt, it's very limited for complex scripts. I'll try cursor, thanks
  2. La community italiana su mtasa non è mai stata viva purtroppo
  3. You're right!! Chatgpt isn't the best for creating complex scripts, but it's a great help for people just starting out with mtasa scripting. Personally, after 12 years, I've forgotten all about scripting Chatgpt and other similar sites are a great help for beginners
  4. The truth, I had abandoned this project and did not have the opportunity to try your script. But today out of curiosity I asked chatGPT to write me the script and this is the result local vehicleTimers = {} -- Memorizza i timer dei veicoli -- Funzione per controllare se il veicolo è in aria function checkVehicleAir(vehicle) if not isElement(vehicle) then return end if isVehicleOnGround(vehicle) then resetExplosionTimer(vehicle) else startExplosionTimer(vehicle) end end -- Avvia il timer di esplosione function startExplosionTimer(vehicle) if vehicleTimers[vehicle] then return end -- Evita più timer sullo stesso veicolo vehicleTimers[vehicle] = setTimer(function() if isElement(vehicle) and not isVehicleOnGround(vehicle) then blowVehicle(vehicle) -- Esplode il veicolo! vehicleTimers[vehicle] = nil end end, 5000, 1) -- 5 secondi di tempo end -- Resetta il timer se il veicolo tocca il suolo function resetExplosionTimer(vehicle) if vehicleTimers[vehicle] then killTimer(vehicleTimers[vehicle]) -- Ferma il timer vehicleTimers[vehicle] = nil end end -- Controlla lo stato dei veicoli in un loop function monitorVehicles() for _, vehicle in ipairs(getElementsByType("vehicle")) do if getVehicleController(vehicle) then -- Controlla solo i veicoli con giocatori dentro checkVehicleAir(vehicle) end end end setTimer(monitorVehicles, 1000, 0) -- Controlla ogni secondo -- Quando un veicolo esplode, rimuove il timer associato addEventHandler("onVehicleExplode", root, function() vehicleTimers[source] = nil end) chatGPT can write all kinds of functions, it's amazing
  5. A thousand thanks. I will try this script
  6. Hi guys. After a loooooong time I decided to do a rework on one of my map but I need a particular script. I have so forgotten anything related to scripting after 10 years and I don't know if there is any event or function related to this yet. I need help creating a script when a certain vehicle stops touching an object after 5 seconds I have the ability to start a function. Such as destroying the vehicle after 5 seconds if it does not touch an object with its wheels. If anyone helps me I will add credits for the script when I release the map. Thanks for the support
  7. HunT

    discord

    ? Guarda che cé il post del discord sopra con tanto di berlusconi.
  8. https://www.mediafire.com/file/2gel9mo90xcxo3j/Bank_System_Incomplete.zip/file But is incomplete and not compatible with default or other gamemodes U can edit it if u want. Good luck.
  9. Good job. The other player listen default sound or custom sound? Its 3D sound or client sound? P.S. i have no download the resource, just asking.
  10. Like this : https://community.multitheftauto.com/index.php?p=resources&s=details&id=5645 But you need edit the model.
  11. Unfortunately, my job is killing me and I do not have much time lately. Thanks for the comment.
  12. Bit upgrade. Of Couse. But i want finish first with some details.
  13. I have already split some projects for dont have lag relax. After finish this base i split on 10 objects.
  14. Original Images : Current Project (really alpha) :
×
×
  • Create New...