Est Restrict

From EventScripts Community Encyclopedia
Syntax: est_Restrict <identifier> <weapon name>
Note: Command parameters are described inside the < and > characters. Optional parameters are contained within [ and ] characters.

Contents

Description

Restricts a certain weapons for a player.

Parameters

Example


event player_team
{
  if(event_var(team) > 1) do
  {
    es est_Restrict event_var(userid) awp
    // Restricts the AWP for any player thats on a team
  }
}

Notes

  • When entering a weapon don't include the weapon_ part.
  • To use this command with ES Tools version 0.420, you have to set "est_enable_weapon_restrictions 1" in "cstrike/cfg/es_tools.cfg". The value is disabled by default.

See Also

blog comments powered by Disqus