So once again, I got an custom admin panel.
And i want to make a new menu for it that tells the logs of the game and of what happens.
I also want to add client logs and the name to which client got the log.
Help is highly appreciated.
game.LogService:GetLogHistory()
, and game.LogService.MessageOut
would tell you what you’d see in the developer console.
Is there a way of how i can clone a frame and then the frame tells the log that happened?
If yes, Could u maybe make a example script?
You can make a TextLabel which acts as a template for this, yes.
Are you maybe able to make a quick script i can use? (Will defs be changed)
Here’s some documentation on the methods!
- :GetLogHistory() - returns a list of output messages
- .MessageOut() - event which fires when a new message appears in console
One question, Is it client sided only?
Or can it be done with server aswell
Pretty sure it would work the same on client and server. Incase you may not have noticed: Only in studio, the client knows the server output messages. So don’t worry about vulnerabilities there!
Is there also a way to scale the TextLabel so that text is always a constant size?
You can set the property TextScaled
to false, and set the TextSize
property in pixels, if you want the size to be in pixels.
If you want it to always fit the label, set TextScaled
to true.
also my label that i want to clone is really dark and is difficult to read even though text color is 255,255,255
any ways to fix this?
Fixed setting zindex (character limit)
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.