set_user_hitzones
native set_user_hitzones(index = 0, target = 0, body = HITZONES_DEFAULT);
| Parameter |
Description |
| 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.
This function has no return value.
If player is not connected or not within the range
of 1 to MaxClients.