Is There any Way to Block Action 42 ?
I am talking about The Action that apply when a player shoots other player with Shotgun and the player falls on Ground
Make all players same team, and enable friendly fire damage.
I think that's how I did it in the past, not sure if it still works.
Oh nvm, there is a per player immunity setting: https://wiki.vc-mp.org/wiki/Scripting/Squirrel/Functions/Player.Immunity
32 = immune to falling down
Quote from: PLAYER on Jun 25, 2025, 09:33 AMI am talking about The Action that apply when a player shoots other player with Shotgun and the player falls on Ground
Hello, I am from China and my English maybe a little bad.
We can use that event "onPlayerActionChange(player,oldAction,newAction)" and add code "if (newAction == 42) { player.Action = xx ; return 0;},
sorry for i don't test it , maybe it just can run in my brain , haha.
Or you can use SetFallTimer( ) to disable the action or decrease the time to stand up for all.
Thanks You Guys For Helping I Appreciate It