Est RestrictAll

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

Contents

Description

Restricts all weapons for a player.

Parameters

Example


event player_team
{
  if(event_var(team) == 3) do
  {
    es est_RestrictAll event_var(userid)
    es_tell event_var(userid) All of the weapons are restricted!!
    // Restricts all weapons for any player that is on the counter-terrorists team
  }
}

Notes

  • 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