ULX

Author Topic: How do I make it so when someone joins a steam group, they gets points?  (Read 1524 times)

0 Members and 1 Guest are viewing this topic.

Offline Lisa Rompaey

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
So basically I'd like to know what I need to add and to what lua code to give them points when they join the group.
I suppose it'd be in my cc_menus.lua folder where the command !steam is located.

This is my lua code:

Code: [Select]
function ulx.steam( calling_ply )

calling_ply:SendLua([[gui.OpenURL( "]] .. GetConVarString("steam_url") .. [[" )]])

end


local steam = ulx.command( "Menus", "ulx steam", ulx.steam, "!steam" )
steam:defaultAccess( ULib.ACCESS_ALL )
steam:help( "For joining the steam group." )

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
bw81@ulysses-forums ~ % whoami
Homepage