[AJUDA]Continuando a arrumar meu sistema de head shot...
#7

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;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)