Using DRP's GUI - XxLMM13xXgaming/drp GitHub Wiki
To use DRP's GUI this is what you need to do...
Getting started
First off you will need to set up a file in the autorun (client)
addonname/lua/autorun/cl_filename.lua
To use the GUI on a DFrame use this code under the DFrame (NOTE DO NOT DO THE PAINT FUNCTION THE FUNCTION BELOW DOES IT FOR YOU!)
DRPPaintDFrame(self, name)
Make sure to keep self
and change the name
to whatever you want the header to be!
To use the GUI on a DButton use this code under the DButton (NOTE DO NOT DO THE PAINT FUNCTION THE FUNCTION BELOW DOES IT FOR YOU!)
DRPPaintDButton(self)
Make sure to keep self
To use the GUI on a DTextEntry use this code under the DTextEntry (NOTE DO NOT DO THE PAINT FUNCTION THE FUNCTION BELOW DOES IT FOR YOU!)
DRPPaintDTextEntry(self)
Make sure to keep self