Getrandplayer
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: <none> [edit] DescriptionStores a random userid in variable based on the identifier you specify. You can also use it with an es before it to expand variables. [edit] Parameters
[edit] Exampleses_load corelib es_xsetinfo myvar 0 // make a random bot and human player say something getrandplayer myvar #bot es_sexec server_var(myvar) say I am a silly bot! getrandplayer myvar #human es_sexec server_var(myvar) say I am a real player!
[edit] Notes
[edit] See also |
