samp-weapon-config
samp-weapon-config copied to clipboard
Vehicle Explosion bug
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)