xXGhostXx Posted August 17, 2018 Share Posted August 17, 2018 Hey guys Please make Gui for show updates panel ! Command : /updates And edit text in lua file ! Please help me ! Thanks for read my problem . Link to comment
Dimos7 Posted August 17, 2018 Share Posted August 17, 2018 We are here to help you with your code not make it Link to comment
JeViCo Posted August 17, 2018 Share Posted August 17, 2018 I guess you're in wrong section buddy) Link to comment
Mr.Loki Posted August 17, 2018 Share Posted August 17, 2018 @xXGhostXx use Guieditor and addCommandHandler, Link to comment
xXGhostXx Posted August 17, 2018 Author Share Posted August 17, 2018 11 hours ago, Mr.Loki said: @xXGhostXx use Guieditor and addCommandHandler, I am noob in scripting ! Please make it Link to comment
VenomOG Posted August 17, 2018 Share Posted August 17, 2018 local x,y = guiGetScreenSize() local window = guiCreateWindow( (x-550)/2, (y-600)/2, 500, 600, "Updates", false ) local text = guiCreateMemo( 10, 30, 530, 526, "", false, window ) guiMemoSetReadOnly(text, true) guiSetVisible(window,false) local closeButton = guiCreateButton(420,560,110,30,"Close",false,window) addEventHandler("onClientGUIClick",closeButton,function() guiSetVisible(window, false) showCursor(false) end) local File = fileOpen("updates.txt", true) local Text = fileRead(File, 10000) guiSetText(text,Text) function updatesList( ) guiSetVisible(window, not guiGetVisible(window)) showCursor(not isCursorShowing()) end addCommandHandler ( "updates", updatesList ) function updates () outputChatBox ( "#FF0000(NOTE) #FFA900New updates has been uploaded, use /updates", 255, 255, 255, true ) end addCommandHandler("updt", updates) create updates.txt file @xXGhostXx Link to comment
xXGhostXx Posted August 17, 2018 Author Share Posted August 17, 2018 11 hours ago, KnucklesSAEG said: local x,y = guiGetScreenSize() local window = guiCreateWindow( (x-550)/2, (y-600)/2, 500, 600, "Updates", false ) local text = guiCreateMemo( 10, 30, 530, 526, "", false, window ) guiMemoSetReadOnly(text, true) guiSetVisible(window,false) local closeButton = guiCreateButton(420,560,110,30,"Close",false,window) addEventHandler("onClientGUIClick",closeButton,function() guiSetVisible(window, false) showCursor(false) end) local File = fileOpen("updates.txt", true) local Text = fileRead(File, 10000) guiSetText(text,Text) function updatesList( ) guiSetVisible(window, not guiGetVisible(window)) showCursor(not isCursorShowing()) end addCommandHandler ( "updates", updatesList ) function updates () outputChatBox ( "#FF0000(NOTE) #FFA900New updates has been uploaded, use /updates", 255, 255, 255, true ) end addCommandHandler("updt", updates) create updates.txt file @xXGhostXx Thanks . Server side ? Link to comment
VenomOG Posted August 17, 2018 Share Posted August 17, 2018 1 minute ago, xXGhostXx said: Thanks . Server side ? There is no server side. Link to comment
xXGhostXx Posted August 17, 2018 Author Share Posted August 17, 2018 11 hours ago, KnucklesSAEG said: There is no server side. Please check my post for jobs system and help me ! Link to comment
Discord Moderators Pirulax Posted August 17, 2018 Discord Moderators Share Posted August 17, 2018 Jesus Christ, why do you even guys help him? 2 Link to comment
N3xT Posted August 18, 2018 Share Posted August 18, 2018 (edited) He won't learn anything until you stop giving him full codes. @KnucklesSAEG Edited August 18, 2018 by N3xT 2 Link to comment
Discord Moderators Pirulax Posted August 18, 2018 Discord Moderators Share Posted August 18, 2018 Not even then lmao 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