• Print

Author Topic: pointshop ulx  (Read 4771 times)

0 Members and 1 Guest are viewing this topic.

Offline matths1985

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
pointshop ulx
« on: February 22, 2015, 04:47:17 am »
ITEM.Name = 'VIP Terriens'
ITEM.Price = 1000
ITEM.Model = 'models/dog.mdl'

function ITEM:OnEquip( ply )
   RunConsoleCommand( "ulx", "tempadduserid", SteamID(), "vipterrien", "30 ", "user" )
end

when I create my her does not group all the items

Offline Zmaster

  • Full Member
  • ***
  • Posts: 235
  • Karma: 25
Re: pointshop ulx
« Reply #1 on: February 22, 2015, 07:39:49 am »
For starters, you would have to use "ply:SteamID()" -- not just "SteamID()"

And I have no idea what this means:
"when I create my her does not group all the items"

Offline matths1985

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: pointshop ulx
« Reply #2 on: February 23, 2015, 01:28:20 pm »
this does not change, its still not working please.
need help

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: pointshop ulx
« Reply #3 on: February 23, 2015, 04:15:57 pm »
Change
Code: Lua
  1. function ITEM:OnEquip( ply )
to
Code: Lua
  1. function ITEM:OnBuy( ply )
Out of the Garry's Mod business.

  • Print