LocatePlayer

Синтаксис

stock LocatePlayer(id, const identStr[], const pluginTag[], LocatePlayerFlags:flags = LP_OBEY_IMMUNITY)

Описание

Finds player index based on Steam ID, partial player name, user IP or user ID.

Забележка

Function outputs information in console if player is not located.

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

-1 if player is not found or multiple players found or found player doesn't match options given via flags
index of located player on success.