Alright Alright Alright,
This is a modified version of my modified version of original swnitro from Deltanic’s,Advanced nitro system for FiveM.
What it does:
You can install nitro (usable item) on cars that are owned by players (owned_vehicles table).
Config to allow only mechanics to do that (on config.lua file)
When you freshly install nitro you got 4 charges on your car (server side database saved).
When you use your charges ,you can recharge them at every gas pump for 2500$ each(10k $ if empty).
Nitro is checked (installation and charges left) , on every car ,every time a person is entering the driver’s seat.
Also on every nitro usage the charge is decreased and updated on database.
Nitro system can only be installed inside LS Customs stores if mechanic only is enabled.
If mechanic only is false on config then everyone can install nitro but on the specified locations(config.lua)
Also you can use a special item called nitrotools(included in sql file)and remove nitro from cars (mechanic job required)
Sync effect (purge and exhaust flames)
Cool down between nitro usage
Light trails on boosting
HUD information (charges left etc)
more config options are always better thing to have.
I will put the locations that you can install the nitro there ,now about the wrench etc i will look that too.
thank you for your suggestions
I only have a small problem. i read oxmysql is required. only with mysql doesn’t that work? I get the message in the LS costum without mechnic or as a mechanic that it can only be installed in a workshop every time
I agree. although it works and I’m in the zone, the notification comes.
the notification “you have to be in the zone” also comes as a mechanic
what do I mean by that?
that you could expand the nitro again as an example with the item “Blowpipe” e.g. and get the item “Nitro” back.
As an example, I’ll take you want nitro to be illegal.
The cops stop you and find out that you screwed it up.
They say remove it or the car will be confiscated.
So you could then go to a mechanic who would then expand the nitro for you again. I think a cool feature for serious rp for example.
Here is the Video as Mechanic: (the “laptop” is the item “blowpipe”
And don’t be surprised ^^ I have to do the key assignment from scratch first that’s why the error with the car doesn’t come from the nitroscript
oh now i got it ,the item for the mechanic to have supposed to be there on nitro removal.so you get the nitro item back,but you need to be a mechanic and have that item on you and of course the car to have nitro
ergo the whole thing actually gives a lot of rp then. illegal tuning unit for crime, one more activity for the police, one more activity for mechanics and much more that has to do with this nos bottle. Procurement, installation, then maybe change myself that you can’t fill up at every gas station but only at certain places… awsome <3
its command /removenitro i am making a readme now on github
you need to be mechanic and have the item you put on the config (for my example is blowpipe)
the whole system has become so good in a few minutes. when I think that as a mechanic you would have to produce the nitro bottle yourself. this is just absolutely awesome. thank you very much <3
nice one.
Last thing i can think for this script is to make usable item (the item that you need to have on you as mechanic to remove the nitro) so instead of /removenitro command ,you will have to use the item to do the trick .Hood is opend by the script btw you don’t need to open it