GamerDeMTA Posted March 22, 2013 Share Posted March 22, 2013 I want to put an image in the screen... BUT when a GUI I made is showed... BUT ALSO I want to do it... eh for example, you can click things when it's showed, it isn't put and I can't click the GUI Link to comment
ZL|LuCaS Posted March 22, 2013 Share Posted March 22, 2013 guiSetEnabled guiCreateStaticImage Link to comment
GamerDeMTA Posted March 25, 2013 Author Share Posted March 25, 2013 That will make that when I CLICK a Button in which there is an image, the Button does the function? Or can't click bcuse the image????? Link to comment
Raahim Posted March 25, 2013 Share Posted March 25, 2013 You mean you want an logo of your server on the player's screen? Sorry, I do not get what you really mean. If you just want to put the image on a screen, use this, I made it for you although it is meant for help only. I still did it. function logoOnClient() guiCreateStaticImage( x, y, width, height, "file.extenstion(png)", false ) end addEventHandler( "onClientResourceStart", getResourceRootElement( getThisResource() ), logoOnClient) Link to comment
GamerDeMTA Posted March 25, 2013 Author Share Posted March 25, 2013 Yes I want a image but in my GUI, and the image will be... like a Button, you can click it for the function Link to comment
Castillo Posted March 25, 2013 Share Posted March 25, 2013 Just use: onClientGUIClick it works with all GUI elements. Link to comment
GamerDeMTA Posted March 25, 2013 Author Share Posted March 25, 2013 I can put that when the player click the image the function executes??? Link to comment
GamerDeMTA Posted March 25, 2013 Author Share Posted March 25, 2013 Ah... And you know how to give Nitro, repair and Flip to a player? Link to comment
iPrestege Posted March 25, 2013 Share Posted March 25, 2013 triggerServerEvent addVehicleUpgrade Link to comment
GamerDeMTA Posted March 25, 2013 Author Share Posted March 25, 2013 triggerServerEvent addVehicleUpgrade I can't find here the REPAIR and the FLIP, just the nitro: https://wiki.multitheftauto.com/wiki/Vehicle_Upgrades Link to comment
iPrestege Posted March 25, 2013 Share Posted March 25, 2013 fixVehicle getVehicleRotation setVehicleRotation 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