Hello, I would like to add a button to the xgui part of ulx admin mod. I would like to have a "DamageLog" button that when pressed prints the damage log (ttt_print_damagelog). Can someone tell me how to add the gui and the command to the button?
[editline]28th November 2012[/editline]
Here is what I have:
function ulx.damagelog (calling ??)
??
local damagelog = ulx.command ( CATEGORY_NAME, "ulx_damagelog", ulx.damagelog )
damagelog:defaultAccess ( ULib.ACCESS_ADMIN )
damagelog:help (Prints damage log of round)
I put question marks where I don't know what to put.
All help is appreciated.
Sorry, you need to Log In to post a reply to this thread.