[FR/EN][Release][FX] Advanced Car damage

New update 1.5:
Fix:

  • Body(=window) health removed

has anyone tested hitting the vehicle with fists , last script like this you could disable cars by punching them, just curious before i get into this one. thanks for any info :slight_smile: and thanks for the work on the script.

1 Like

The car is not influencing or extremely minimally to the damage of fists

I crashed like 100 times and finally it poped trunk up but also spawned it as another car???

What the fuck your server is bug :smiley:
I put a configuration system you have to play on settings for have good settings and my plugins do not crash the server ^^

1 Like

This isnā€™t working for us at all nowā€¦ Not sure what has changedā€¦

If you do not look at the changelog that I do so you do not send me the error reports client level I can do nothing now I do a last update that will improve the parsing and avoid many problems.

Working on thatā€¦ Iā€™ll post what I find.

I deleted the damage parameter of the body (= window) of the vechicles

New update 1.6
Fix :

  • parsing float numbers

Iā€™ve ran into multiple polls and no dice.

Config:
msgdamage=~r~The vehicle is too damaged.
msgcall=~w~Press ~b~X~w~ to call a troubleshooter.
msgbreakengine=~r~You broke your engine.
msgsubmerssion=~r~The engine is drowned.
showmmsgdamage=true
showmmsgcall=true
showmmsgsubmerssion=true
showmsgbreakengine=true
damageengine=60
damagetotalhealth=55
damagesubmission=30

Itā€™s not logs itā€™s, them itā€™s my parameters you little very well make settings very sensitive but I will not make your setting for you also I have already done a super well that took me time ><

set damagetotalhealth to 85 and look :wink:

I ran right into the gas station and there are no messagesā€¦

Stop screaming and send the file citizen.log

At this level I can not make anything come to say ā€œYeah its not workingā€ already it runs on server vanilla and on the servers of the other players so it is you :wink:

Iā€™m not screaming, I am just trying to get this resolved, really want to use your resourceā€¦ just trying to helpā€¦ Iā€™d say join my server and try it for yourselfā€¦

how do I send you a log, where do i go?

Well, first thank you very much for showing me this log because this is going to help me very much!

[ 84375] Loaded vehiclehealth.net, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null into ScriptDomain_126495292
[ 84390] Failed to instantiate instance of script VehicleHealth.VehicleHealth: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ā€”> System.NullReferenceException: Object reference not set to an instance of an object

[ 84406] at CitizenFX.Core.ScriptContext.GetResult (System.Type type, System.Byte[] ptr) [0x00028] in <0c71cc7fee374b5f9cd524cbb4c7bfe5>:0

[ 84422] at CitizenFX.Core.ScriptContext.GetResult (System.Type type) [0x00000] in <0c71cc7fee374b5f9cd524cbb4c7bfe5>:0

[ 84422] at CitizenFX.Core.Native.Function.InvokeInternal (CitizenFX.Core.Native.Hash nativeHash, System.Type returnType, CitizenFX.Core.Native.InputArgument[] args) [0x00044] in <0c71cc7fee374b5f9cd524cbb4c7bfe5>:0

[ 84437] at CitizenFX.Core.Native.Function.Call[T] (CitizenFX.Core.Native.Hash hash, CitizenFX.Core.Native.InputArgument[] arguments) [0x00000] in <0c71cc7fee374b5f9cd524cbb4c7bfe5>:0

[ 84437] at VehicleHealth.VehicleHealthā€¦ctor () [0x00074] in <346d4b28c6874d9598826db96d627fe3>:0

[ 84437] at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)

[ 84453] at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in :0

[ 84453] ā€” End of inner exception stack trace ā€”

[ 84469] at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in :0

[ 84469] at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x000a8] in :0

[ 84469] at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in :0

[ 84484] at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in :0

[ 84484] at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00020] in :0

[ 84484] at System.Activator.CreateInstance (System.Type type) [0x00000] in :0

[ 84500] at CitizenFX.Core.InternalManager.CreateAssemblyInternal (System.Byte[] assemblyData, System.Byte[] symbolData) [0x00053] in <0c71cc7fee374b5f9cd524cbb4c7bfe5>:0
[ 85094] connectOK, our id 2, host id 65535