Today with player Kunio I've tested player.Immunity. During the test we've met a little bug, everything nice is recorded on the video.
Video:
https://youtu.be/EdfnfGq99Z0
Script:
function onPlayerSpawn(p)
{
p.Immunity = 31;
//Further part of script
return 1;
}
Based on post: http://forum.vc-mp.org/?topic=451.msg3047#msg3047
This bug is already listed in this topic (http://forum.vc-mp.org/?topic=1377.0)