Es getentityindex
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_xgetentityindex [edit] DescriptionGets the index of the first entity-name and stores it in variable
[edit] Parameters
[edit] Examples// Get the index of the first AK47 and store it in variable "ak47index" es_getentityindex ak47index weapon_ak47
[edit] Notes
[edit] See also |
