Es getcmduserid
From EventScripts Community Encyclopedia
|
[edit] OverviewSyntax: 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_xgetcmduserid [edit] DescriptionReturns the userid of the player who issued a say/client command. [edit] Parameters
[edit] Examplesblock load { // Create a say hook. es_regsaycmd omg omg/omg "OMGz0rz!" } block omg { // Get the userid of the speaker. es_setinfo speaker 0 es_getcmduserid speaker es_tell server_var(speaker) OMGz0rz!! He so hax!!! } [edit] Notes
[edit] See also |
