samp-weapon-config icon indicating copy to clipboard operation
samp-weapon-config copied to clipboard

Vehicle Explosion bug

Open tr1xy opened this issue 4 years ago • 0 comments

Let's say that I have this code:

public OnPlayerDamage(&playerid, &Float:amount, &issuerid, &weapon, &bodypart)
{
	return 0;
}

So, when vehicle explodes - player's health will be halved even though i return 0; there, it's all ok since player doesn't die but when I try to do it again (before setting my hp back to 100) player gets frozen and he gets the CJ skin (he did not die and his HP is still the same)

image

tr1xy avatar Aug 18 '20 17:08 tr1xy