Dgs-dxbutton

From Multi Theft Auto: Wiki
Revision as of 12:45, 9 September 2017 by Thisdp (talk | contribs)
Jump to navigation Jump to search

DGS Properties is always used to change the gui style and make it more fantastic.

dgsSetData(button,"image",{defimg,selimg,cliimg}) dgsSetData(button,"color",{defcolor,selcolor,clicolor}) dgsSetData(button,"text",tostring(text)) dgsSetData(button,"textcolor",textcolor or tocolor(255,255,255,255)) dgsSetData(button,"textsize",{tonumber(scalex) or 1,tonumber(scaley) or 1}) dgsSetData(button,"shadow",{_,_,_}) dgsSetData(button,"font",systemFont) dgsSetData(button,"clickoffset",{0,0}) dgsSetData(button,"clip",false) dgsSetData(button,"clickType",1) dgsSetData(button,"wordbreak",false) dgsSetData(button,"colorcoded",false) dgsSetData(button,"rightbottom",{"center","center"})