Advertisement
Guest User

Untitled

a guest
Apr 28th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. ------------------------------------------
  2. -- This file holds menu related items --
  3. ------------------------------------------
  4.  
  5. function ulx.donate( calling_ply )
  6.  
  7. calling_ply:SendLua([[gui.OpenURL( "]] .. GetConVarString("content_url") .. [[" )]])
  8.  
  9. end
  10.  
  11. local donate = ulx.command( "Menus", "ulx content", ulx.donate, "!content" )
  12. donate:defaultAccess( ULib.ACCESS_ALL )
  13. donate:help( "View the server content." )
  14.  
  15. ---------------
  16. -- ConVars --
  17. ---------------
  18.  
  19. CreateConVar( "content_url", "http://steamcommunity.com/sharedfiles/filedetails/?id=846153825" )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement