Zinjaaa Posted July 18, 2013 Share Posted July 18, 2013 I need someone to help me create a panel with this design ----------------------> http://tinypic.com/view.php?pic=2qkv29h&s=5 <----------------------- I need someone to create the client.lua and server.lua and can be opened with f7 would greatly appreciate it to be able to do. Link to comment
xXMADEXx Posted July 18, 2013 Share Posted July 18, 2013 Well you need the image (just download it) then you'll need: guiCreateStaticImage -- or dxDrawImage Link to comment
[N]irvana Posted July 18, 2013 Share Posted July 18, 2013 How I can make the letter "f9" is activated the panel? Link to comment
ViRuZGamiing Posted July 18, 2013 Share Posted July 18, 2013 local screenWidth,screenHeight = guiGetScreenSize() -- Get screen resolution. function dxDraw ( ) dxDrawImage ( Fill in like your requirements ) end function bindKey ( ) bindKey ( "F7", "down", dxDraw ) -- bind the player's F7 down key end I'm still a noob but this is a bit of help I think... I don't know how to set the visibility on dxDraw's I recently learned how to make GUI's. Link to comment
xXMADEXx Posted July 18, 2013 Share Posted July 18, 2013 local screenWidth,screenHeight = guiGetScreenSize() -- Get screen resolution. function dxDraw ( ) dxDrawImage ( Fill in like your requirements ) end function bindKey ( ) bindKey ( "F7", "down", dxDraw ) -- bind the player's F7 down key end I'm still a noob but this is a bit of help I think... I don't know how to set the visibility on dxDraw's I recently learned how to make GUI's. dxDrawText requires "onClientRender" The script would be: local isPlayerViewingImage = false; local sx, sy = guiGetScreenSize ( ) function dxDrawTheImage ( ) if ( isPlayerViewingImage ) then dxDrawImage ( 0, 0, sx, sy, "ImagePath.png" ) end end addEventHandler ( "onClientRender", root, dxDrawTheImage ) bindKey ( "F9", function ( ) isPlayerViewingImage = not isPlayerViewingImage end ) Link to comment
[N]irvana Posted July 18, 2013 Share Posted July 18, 2013 as I can add some text to the panel in which you can choose one letter font? 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