-
Posts
1,387 -
Joined
-
Last visited
Everything posted by HunT
-
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
-
A thousand thanks. I will try this script
-
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
-
? Guarda che cé il post del discord sopra con tanto di berlusconi.
-
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.
-
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.
-
Like this : https://community.multitheftauto.com/index.php?p=resources&s=details&id=5645 But you need edit the model.
-
Unfortunately, my job is killing me and I do not have much time lately. Thanks for the comment.
-
Bit upgrade. Of Couse. But i want finish first with some details.
-
I have already split some projects for dont have lag relax. After finish this base i split on 10 objects.
-
Original Images : Current Project (really alpha) :
-
Deve avere il tag MTAsa Italia. Se vedono il tag di un clan non vengono. Cioé tipo discord.gg/mtasaitalia
-
Crear un gruppo discord di mtasa italia per iniziare. Poi faccio il post principale per far venire la gente.
-
Il problema é sempre lo stesso, ovvero l' organizzazione e l' affidabilitá dell' utenza. Io lavoro e la sera non ho un cazzo da fare. Volendo potrei partecipare ma la gamemode rp a me non piace molto. C'é bisogno di qualcosa di più innovativo. Togliendo rpg battle royale cosa si potrebbe fare? Si potrebbe fare un tipo di roleplay post apocalittico il cui unico scopo e soppravvivere.
-
Partecipare a cosa? Vogliamo i dettagli.
-
Mhh i don't know if is a good idea. You need lose many time for making another battle royal. Open the paracute find weapon and kill. DBD gamemode is a good i think. Anyway good luck.
-
No image no code . . . Nothing How can help?
-
Crash because the .dff is big. You need divide on 2 or 3 parts.
-
Where u download this? I need the name of folder from .3ds
-
Sorry about that but is nothing of special