AMX Mod X API Documentation

Signature
native get_concmd_plid(cid, flag_mask, id_type);
Description

Returns the parent plugin id of a console command.

Notes
  • For a list of possible access flags, see the ADMIN_* constants in

    amxconst.inc

Parameters
  • cid Command index
  • flag_mask Only considers commands that can be accessed with

    the specified privilege flags.

  • id_type If set to 0 only server commands will be considered,

    positive will only consider client commands, otherwise

    all console commands will be considered.

Returns

Plugin id

Назад
Верх