Es.getplayersteamid
From EventScripts Community Encyclopedia
[edit] Method: getplayersteamidModule: es [edit] Method Overview[edit] Table of Contents
[edit] DescriptionGets a player's steamid. This is the Python equivalent of: http://www.eventscripts.com/pages/es_getplayersteamid [edit] Argumentses.getplayersteamid(<userid>)
[edit] Examples# include libraries import es # define chat command def load(): # registry command 'steamid' if not es.exists('saycommand', 'steamid'): es.regsaycmd('steamid', 'steamid/get_steamid') # define command execution def get_steamid(): # get playerID userid = es.getcmduserid() # Tell to player himself steamID es.tell (userid, "#multi", "#green MY STEAMID: " + ' #lightgreen ' + es.getplayersteamid(userid)) [edit] Notes
[edit] See Also |
|
