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
[CODE]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")
end
end
local watchstring = table.concat( watchlist, "" )
end[/CODE]
The directory is garrysmod\addons\daethrunadmin\lua\ulx\modules
You spelled deathrun wrong
Sorry, you need to Log In to post a reply to this thread.