Oussema Posted March 27, 2017 Posted March 27, 2017 how i can get player Chat when i use TakePlayerScreenShot in wiki it says This function forces a client to capture the current screen output and send it back to the server. The image will contain the GTA HUD and the output of any dxDraw functions that are not flagged as 'post GUI'. The image specifically excludes the chat box and all GUI (including the client console). There is no way to get the chat ?
Oussema Posted March 27, 2017 Author Posted March 27, 2017 there is no other way ? or somthing like making dx text geting the chats or anything pls !
Bonsai Posted March 27, 2017 Posted March 27, 2017 There are events that let you get anything that is output to the chatbox. That makes me wonder why the chatbox is excluded on screenshots anyway. I guess its for making it look nicer.
MIKI785 Posted March 28, 2017 Posted March 28, 2017 8 hours ago, NeXuS™ said: Did you try dxCreateScreenSource? Even that won't work, https://wiki.multitheftauto.com/wiki/Game_Processing_Order. As you can see GUI (incl. chat) gets drawn near the end of the frame and there is no event being called after that happens.
MTA Team Lpsd Posted March 28, 2017 MTA Team Posted March 28, 2017 Only way I can think of is to use a custom chat-box in your server.
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