xSilvermanx / PD5M

Github for the FiveM-resource PD5M
19 stars 20 forks source link

Adding a 'TowTruckVehicles' variable under 'service variables' in config_cl.lua #20

Closed jackjordan12 closed 4 years ago

jackjordan12 commented 4 years ago

This would be very similar to: CoronerVehicles = {"policet"}

Something like this: TowTruckVehicles = {"flatbed"}

I know that this can be done on line 94 of /service/tow_cl.lua, but it would be nice to have this in the config too.

xSilvermanx commented 4 years ago

This is very much intended since I do not plan to have the towtruck replaceable. Reason is that I'd like to have the towtrucks with hooks useable for AI as well. Having the towtrucks configurable would mean serious coding to make sure that the replacements actually work for the AI. Else crashes might happen.