Es.getplayerprop
From EventScripts Community Encyclopedia
|
[edit] Method: getplayerpropModule: es [edit] Method Overview[edit] Table of Contents
[edit] DescriptionGet the value of a class property from the player. [edit] Arguments
[edit] Examplesgetting a player location player_location = es.getplayerprop(event_var['userid'], "CBaseEntity.m_vecOrigin") es.msg("player ", event_var['es_username'], " is located at: ", player_location) //possible output: //player mRyOuNg is located at: -144.248990,1234.812397,12.123091 [edit] Notes
[edit] See Also |
|
