Es cexec all

From EventScripts Community Encyclopedia


Overview

Syntax: es_cexec_all <command>

Note: Command parameters are described inside the < and > characters. Optional parameters are contained within [ and ] characters.

Variation of this command that doesn't expand variables: es_xcexec_all

Description

Forces all userids to run a client-side command

Parameters

  • command - Command that all players are forced to run


Examples

event round_start
{
  es_cexec_all buy weapon_deagle
  // Forces all players to purchase a deagle
}


Notes

  • May not force the user to run server-side commands


See also


blog comments powered by Disqus