Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ------------------------------------------
- -- This file holds menu related items --
- ------------------------------------------
- function ulx.donate( calling_ply )
- calling_ply:SendLua([[gui.OpenURL( "]] .. GetConVarString("content_url") .. [[" )]])
- end
- local donate = ulx.command( "Menus", "ulx content", ulx.donate, "!content" )
- donate:defaultAccess( ULib.ACCESS_ALL )
- donate:help( "View the server content." )
- ---------------
- -- ConVars --
- ---------------
- CreateConVar( "content_url", "http://steamcommunity.com/sharedfiles/filedetails/?id=846153825" )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement