FiveEYZ / esx_kashacter

esx_kashacters fixed for latest version of ESX.
https://github.com/KASHZIN/kashacters
14 stars 31 forks source link

When the player respawn it is frozen #6

Closed Klay4 closed 4 years ago

Klay4 commented 4 years ago

I have followed all the steps (https://github.com/FiveEYZ/esx_kashacter#ambulance-fix) but when the player respawn it is frozen.

I have tried to use this function in the RespawnPed function declaration but it still doesn't work.

Klay4 commented 4 years ago

[FIXED]

This code is "wrong", in the first line the variable name isn't IsDead with the first capital letter but the correct name is isDead.

So, to make it works you have to replace IsDead = false with isDead = false