Delete me

Wahoo nice job!
Amazing :laughing:

1 Like

if I want the ped to just walk “injured” without the drunk walking animation, is it possible?

if you check the client main. lua you will find the movement animations are requested independently and if you replace the drunk one with the injured one under "setveryhurt’ that will solve this^

1 Like

Hello dude, in first time thank you for your share. In second, do you found the line to comment for the possibility to crouch ? :smiley: Thank you

check the 1.2 update should allow for crouch.

Thank you very much, I’ll test it with us tomorrow and give you feedback

So so far everything is going quite well, only now there is the problem when you are on the server joint you are directly in the animation as if you had drunk alcohol and you don’t get out of the animation unless you are injured when you are healed host you can also get out of the animation

1 Like

Hey dude,

Juste add this

if GetEntityHealth(ped) >=195 then
		setNotHurt()
end

Or uncomment

if --[[ hurt or veryhurt and ]] GetEntityHealth(ped) >= 175 then
			setNotHurt()

But still impossible for me too crouch

1 Like

so that creates a persistent loop if you uncomment it, which means other animations can’t be loaded while it is active. if you go to the bottom you can see how I have it setup now,

new update one 1.2 should be all good, I checked it with crouch script and crouch works when uninjured.

1 Like

had to fix another issue I found on drunk animation preset after revive, now movement animations are reset at 1 health not a perfect fix but solves the issue for now

1 Like

nice work but after a few minutes i get crash :slight_smile:

[ 1331469] [ DumpServer] 4516/ HĂ©ritage du hash de crash : six-romeo-red
[ 1332172] [ DumpServer] 4516/ Stack trace:
[ 1332375] [ GTAProcess] MainThrd/ InvokeNative: execution failed: Error executing native 0x6ea47dae7fad0eed at address 0x141563838.
[ 1332562] [ DumpServer] 4516/ GTA5.exe!sub_1408FC628 (0x21)
[ 1333344] [ GTAProcess] MainThrd/ ^1SCRIPT ERROR: Execution of native 6ea47dae7fad0eed in script host failed: Error executing native 0x6ea47dae7fad0eed at address 0x141563838.^7
[ 1333344] [ DumpServer] 4516/ GTA5.exe!sub_14159E018 (0xdc)
[ 1333484] [ GTAProcess] MainThrd/ ^3> RequestAnimSet^7 (^5RequestAnimSet.lua^7:3)
[ 1333531] [ GTAProcess] MainThrd/ ^3> setHurt^7 (^5@syn_injury/main.lua^7:266)
[ 1333531] [ GTAProcess] MainThrd/ ^3> fn^7 (^5@syn_injury/main.lua^7:150)
[ 1333531] [ DumpServer] 4516/ 0x100003e77
[ 1333531] [ DumpServer] 4516/ 0x3e77
[ 1333531] [ DumpServer] 4516/ GTA5.exe+2DC9EE0
[ 1333531] [ DumpServer] 4516/ 0x3e77
[ 1333531] [ DumpServer] 4516/
[ 1338531] [ DumpServer] 4516/ Crash report service returned si-a26ee82bf91e4322b6c8d9fafa4c20be

can you help me please .

do you have the latest version?

Yes and still crashing i’ve tried to remove screen effects but same after few minutes it crash

Haven’t been able to replicate your crash, perhaps it is do to a conflict with another script. not super familiar with crash reports either. partially a noob to coding, I hade never even seen a lua script last September. If I discover anything that might help I will let you know. For now just try version 3 it might help!

1 Like

Your Patreon link on your Tebex violates our Terms of Service. Please remove this and refrain from using Patreon as all transactions must be completed via Tebex.

1 Like