I'm not sure but you could try this one
02AB: set_actor 2@ immunities BP 0 FP 0 EP 0 CP 1 MP 0
https://www.gtagmodding.com/opcode-database/opcode/02AB/
To apply it to jumping/flying/falling you could use something like:
Code:
while 0818: actor $PLAYER_ACTOR in_air
wait 0
02AB: set_actor 2@ immunities BP 0 FP 0 EP 0 CP 1 MP 0
wait 100
end
02AB: set_actor 2@ immunities BP 0 FP 0 EP 0 CP 0 MP 0