Es username

From EventScripts Community Encyclopedia

Es_username

Es_username is used to call the name of a user who was involved in an event.

For example if i join a server in the name of JakeTheSnake and i want the server to say "Hi JakeTheSnake, Welcome to our CSS server" event player_activate

es_tell event_var(userid) #green Hi event_var(es_username), Welcome to our CSS server


You could also do it in a menu like so

event player_activate

es_menu 10 event_var(userid) "Hi event_var(es_username),\n Welcome to our CSS server"


the \n calling the menu to go to the next line

blog comments powered by Disqus