1. Post #1
    Sazzer401's Avatar
    October 2016
    50 Posts
    Hey everyone.
    How would I go about getting this to trigger a derma panel with all the watchlisted players on a label? It is tied in with ULX and is serverside
    function ulx.watchlist(calling_ply)    
      watchlist = {}
      table.insert( watchlist, "/WATCHLIST/")
        for k, v in pairs(player.GetAll()) do
            if v:GetPData("Watched") == "true" then
                table.insert( watchlist, "\n")
                table.insert( watchlist, v:Nick())
                table.insert( watchlist, "\n")
                table.insert(watchlist, v:GetPData("WatchReason"))
                table.insert( watchlist, "\n")
        local watchstring = table.concat(  watchlist, "" )
    The directory is garrysmod\addons\daethrunadmin\lua\ulx\modules

  2. Post #2
    Potatofactory's Avatar
    June 2014
    384 Posts
    You spelled deathrun wrong
    Reply With Quote Edit / Delete Reply Android Chrome United States Show Events Agree Agree x 1 (list)