[Release] esx_engine

Basically with this script you can kill your friends car engine or your enemys car engine :joy: and if you want you can do a lot of things with this too like sabotage cop cars, …

I hope you enjoy this script and don’t forget I’m a noob developer trying to learn something and this is my first script :smiley: .

Download: https://github.com/SamuelGamerPT/esx_engine
Video: https://streamable.com/9x4f3

Update:

  • Now you can go to your inventory and use the item rather then use the /killengine command (If you want the script wih the /killengine command I will leave it here for download too:smiley:)

Download esx_engine with command: esx_engine.zip (3.1 KB)
Video: https://streamable.com/8egiw

2 Likes

Nice Script, some preview would make the diference in the release, keep working seem’s nice to me.

Oh and probably tomorrow i will post one video, I have forgotten posting one today :sweat_smile:

1 Like

smart idea dude :wink:

1 Like

thank you :smiley:

thank you :smiley:

Cool, you should just change the code from a command to using the item. So if you press use the item, then it does trigger a client event which is the same code as you already have. ESX people hates commands :wink:

1 Like

Hey Portugal
Post a vídeo pls hehe

1 Like

Done :wink:

I will try to do this, thank you for the suggestion :smiley:

Hi tested this out and don’t do nothing had the item and got the progress bar but then done nothing could still get in the car and engine would start and car would drive.

1 Like

1 idea. Pop the hood and do it becuase people arent aloud in police cars in most to servers :wink: then it would be amazing

1 Like

But you have the script with the command or the script with usable item?

Yeah thank you for the idea :smiley: I will try do this

Yeah i have the script added and the item and when i do the command it starts the the progress bar but nothing happens when it finishes and car is fine and can also walk around while the progress bar is going.

You have stopped the car?
I will try to test this in the same time and if I can find something I try to fix and I send to you :wink: .

For some reason the SetVehicleEngineHealth is not working instead of setting it to 0, it sets it to 1072, only the engine turns off. But can be simply turned on using /engine with external elvehicle commands. I mean great idea, but at this moment it only turns the engine off, it doesnt break the car.

hmmm I need try to figured out how to fix this problem. Thank you for the rerport :wink: