cmd_target
Core (amxmisc.inc)
Description
cmd_target - Locates a player id by specific parameters.
Syntax
cmd_target ( id, const arg[], flags = 1 )
Type
Stock
Notes
id is the player who called the command.
arg is the argument the player input.

Flags:
1 - obey immunity
2 - allow yourself
4 - must be alive
8 - can't be bot