Jacyn

Results 6 comments of Jacyn

@TracerDS The player isn't killed in the example. I'm just setting the player's health and the event gets triggered when it shouldn't. It's an inconsistent behaviour because it doesn't happen...

@TracerDS again, the player isn't killed... see the example. It's all about ``source:setHealth(60)`` in the example, which triggers the onPlayerDamage event, but only after a reconnect. The killing part is...

I agree with request, however you can work around it by checking for the 'TASK_COMPLEX_GO_TO_CAR_DOOR_AND_STAND_STILL' task with getPedTask. Here's an example: ```lua addEventHandler('onClientVehicleStartEnter', root, function(player, seat, door) local vehicle =...

After some more experimenting... In the code example, source.health/getElementHealth returns the correct health if I set the health manually via runcode, but if the vehicle is damaged by world damage...

I just did another test, it seems to at least not work with reference adain+attn. Lineart seems to be working fine.

Still happening but ``yarn init -y`` seems to work fine