30.05.2011, 15:14
Usa o OnPlayerShootPlayer e IsPlayerAiming(playerid, aimid) ou a funcгo BodyPart mais fбcil.
pawn Код:
public OnPlayerShootPlayer(shooter,target,Float:damage)
{
if(GetPlayerWeapon(shooter) == 34)
{
SetPlayerHealth(target, 0);
}
return 1;
}