CanUserTarget Function

Returns whether a user can target another user. This is a helper function for CanAdminTarget.

bool CanUserTarget(int client, int target)

Parameters

int client

Player's index.

int target

Target player's index.

Return Value

True if target is targettable by the player, false otherwise.

Errors

Invalid or unconnected player indexers.