12.04.2014, 21:22
I got headshot system
9 means head and if we connect everthing is working but after +/- 15 min if i shoot on his head player is killed with INVALID_KILLER_ID not my id reason 255, after another few minutes player have god mode so OnPlayerTakeDamage is not called? or GetPlayerWeapon or bodypart? its old samp bug, if i remeber its from 0.3x? for the first bug samp is not holding killerid if it looks like suicide.
Please fix this bug because why the sniper rifle is available when does not work
pawn Код:
if((WEAPON_RIFLE <= GetPlayerWeapon(issuerid) <= WEAPON_SNIPER) && bodypart == 9)
{
SetPlayerHealth(playerid, 0.0);
return 0;
}
Please fix this bug because why the sniper rifle is available when does not work