Es.cexec
From EventScripts Community Encyclopedia
[edit] Method: cexecModule: es [edit] Method Overview[edit] Table of Contents
[edit] DescriptionForces the provided userid to run a client-side command. This is the Python equivalent of: http://www.eventscripts.com/pages/es_cexec [edit] Arguments
[edit] Examplesdef player_activate(event_var): name = event_var["es_username"] if not name.startswith("My name is"): es.cexec(event_var["userid"],"name My name is " + name) es.cexec(userid,"echo This text will show up on userid's console") [edit] Notes
[edit] See Also |
|
