Est GetViewProp

From EventScripts Community Encyclopedia
Syntax: est_GetViewProp <identifier> <return index>
Note: Command parameters are described inside the < and > characters. Optional parameters are contained within [ and ] characters.

Contents

Description

  • Returns the index of the entity the player is looking at
  • Works better than !picker
  • This also works on players.

Parameters

  • identifier - The identifier must be a players:
    • userid
    • steamid
    • username - Partial or full name
  • return index - The index of the object the player is looking at

Example


// Example comming soon 

Notes

  • None

See Also

blog comments powered by Disqus