AMX Mod X API Documentation

Signature
native set_user_hitzones(index = 0, target = 0, body = HITZONES_DEFAULT);
Description

Sets (adds, removes) hit zones for a player.

Notes
  • This actually sets rules of how any player can hit any other.

    Example: set_user_hitzones(id, target, 2) - makes @id able to

    hit @target only in the head.

Parameters
  • index Client index
  • target The target player
  • body A bitsum of the body parts that can/can't be shot. See HITZONE* constants.
No return value
Errors
  • If player is not connected or not within the range

    of 1 to MaxClients.

Назад
Верх