Player say
From EventScripts Community Encyclopedia
|
[edit] Descriptionplayer_say executes EVERY TIME A PLAYER TYPES ANYTHING IN CHAT [edit] VariablesVariables Specific to player_say That Are Expanded: Quote: event_var(userid)
The userid of the player that typed in the text
event_var(text)
The "full line of text" the player typed
event_var(es_steamid)
The steamid of the player that typed in the text
event_var(es_username)
The username of the player that typed in the text
event_var(es_userteam)
The team of the user that typed in the text
[edit] Examplesevent player_say { if (event_var(text) equalto hello) do { es_tell event_var(userid) #green Hello event_var(es_username) } } |
|
