set_user_hitzones

Синтаксис

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

Употреба

index
Client index
target
The target player
body
A bitsum of the body parts that can/can't be shot. See HITZONE* constants.

Описание

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

Забележка

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.

Връщаща стойност

Тази функция няма връщаща стойност.

Грешка

If player is not connected or not within the range
of 1 to MaxClients.