AL-SAYED Posted June 16, 2013 Posted June 16, 2013 function ref() if guiGetVisible(GUIEditor.window[1],true) then else guiSetText(GUIEditor.window[1],"لوحه الشرطي"..getPlayerName(getLocalPlayer(),playerhex)) playerhex = string.gsub(GUIEditor.window[1], "#%x%x%x%x%x%x", "") end end addEventHandler("onClientRender", getRootElement(), ref) ابي الكود ذا يشيل اسم الالوان الهكس من اسم اللاعب
jafar Posted June 16, 2013 Posted June 16, 2013 function ref() if guiGetVisible(GUIEditor.window[1],true) then else guiSetText(GUIEditor.window[1],"لوحه الشرطي".. string.gsub( getPlayerName ( getLocalPlayer() ) , '#%x%x%x%x%x%x', ' ' )) end end addEventHandler("onClientRender", getRootElement(), ref) لم يتم التجربة
jafar Posted June 16, 2013 Posted June 16, 2013 شغال عندي 100 % من شوي عدلت الكود يمكن انت اخذت القديم
iPrestege Posted June 16, 2013 Posted June 16, 2013 function ref() if guiGetVisible(GUIEditor.window[1],true) then else guiSetText(GUIEditor.window[1],"لوحه الشرطي".. string.gsub( getPlayerName ( getLocalPlayer() ) , '#%x%x%x%x%x%x', ' ' )) end end addEventHandler("onClientRender", getRootElement(), ref) لم يتم التجربة الحين كودكـ اذا كانت النافذه مفتوح وش يسوي؟ هو يسويها اذا تسكرت لانك مسوي كذآ if guiGetVisible ( .. ) then -- Nothing else guiSetText ( .. )
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