Jump to content

guiMoveToBack Help :)


LyricalMM

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...