zudokuxD Posted March 5, 2016 Share Posted March 5, 2016 messages = { "Lo regaño su mamá" "Se enojo" "Fue a ver a la abuela" "Se fue a dormir" "Adios Amor" } function QuitMessage( reason ) outputChatBox ( getPlayerName ( source )..messages[math.random(1,#messages)] ("..reason..") end addEventHandler( "onClientPlayerQuit", getRootElement(), QuitMessage ) Link to comment
SpecT Posted March 5, 2016 Share Posted March 5, 2016 I'm not really sure what you need but I think that this will help you: outputChatBox ( getPlayerName ( source ).."#ffffff: "..messages[math.random(1,#messages)]" ("..reason..")") And why do you need this in client-side ? This will show up when the player quits so probably he won't see the message. Link to comment
Alexs Posted March 5, 2016 Share Posted March 5, 2016 Also: messages = { "Lo regaño su mamá", "Se enojo", "Fue a ver a la abuela", "Se fue a dormir", "Adios Amor" } Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now