Tokio Posted December 11, 2017 Share Posted December 11, 2017 i want make a joinquit script, but i want the join, disconnect..etc messages show in right side, like killmessages, it is possible? if yes, how?? Link to comment
Fist Posted December 11, 2017 Share Posted December 11, 2017 (edited) "onClientPlayerJoin" -- event "onClientPlayerQuit" -- event "onClientRender" -- event getPlayerName -- function guiGetScreenSize -- function dxDrawText -- function Edited December 11, 2017 by Fist 1 Link to comment
King12 Posted December 12, 2017 Share Posted December 12, 2017 -- Client side exports.killmessages:outputMessage ( message, r, g, b, font ) -- Server side exports.killmessages:outputMessage ( message, visibleTo, r, g, b, font ) addEventHandler("onPlayerQuit", root, function (quitType) local name = string.gsub(getPlayerName(source), "#%x%x%x%x%x%x", "") exports.killmessages:outputMessage ( name.. "has left the server. [" ..quitType.. "]", root, 255, 255, 255, "default" ) end ) Try using the killmessages functions. 1 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