LyricalMM Posted August 10, 2017 Share Posted August 10, 2017 Hello guys! I want to make a new resource with the command /ss for screenshots in Roleplay. This /ss needs to put a black image in the back of the chat. I did it, when I type /ss the black image appears, but did't appear in the back of the chat... Here is the code: local image = guiCreateStaticImage( 10, 10, 700, 700, "image.png", false ) function showClientImage() guiSetVisible (image, not guiGetVisible ( image ) ) end addEventHandler( "onClientResourceStart", getResourceRootElement( getThisResource() ), showClientImage ) addCommandHandler( "ss", showClientImage ) I don't know where to put guiMoveToBack and how. So please help Link to comment
NeXuS™ Posted August 10, 2017 Share Posted August 10, 2017 Taken from takePlayerScreenShot wiki page. Quote The image specifically excludes the chat box and all GUI (including the client console). 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