Point shop Help
-
- New to forums
- Posts: 8
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Tue Jul 23, 2013 3:22 pm
Point shop Help
so i have this point shop and i have added in a few skins my self like samus and isaac and black rock shooter and they dont seem to be buyable when my friend who first set up the point shop (wont help me now) has in a bunch of skins that work and are buyable and all i did was take his code and add it to the new skins
Re: Point shop Help
yes i am using his point shop
Re: Point shop Help
the problem is that when i add in new skins to the shop you cant buy/equip them
- Sir Nipah
- This is my homepage
- Posts: 76
- Joined: Mon Jul 08, 2013 3:38 am
- Location: Australia/Melbourne
- Contact:
Re: Point shop Help
Can you post the lua file you made and tell me the directory you are placing it in?
Additionally please use use BBCode so post your lua I.E.[/code]
Additionally please use use BBCode so post your lua I.E.
Code: Select all
[code]If life then end
Garry's Mod veteran.
Re: Point shop Help
Code: Select all
ITEM.Name = 'Samus'
ITEM.Price = 10000
ITEM.Model = 'models/nikout/samlyx.mdl'
ITEM.AllowedUserGroups = { "vip+", "trial-moderatorvip+", "moderatorvip+", "admin", "superadmin", "head-admin", "co-owner", "owner"}
function ITEM:OnEquip(ply, modifications)
if not ply._OldModel then
ply._OldModel = ply:GetModel()
end
timer.Simple(1, function() ply:SetModel(self.Model) end)
end
function ITEM:OnHolster(ply)
if ply._OldModel then
ply:SetModel(ply._OldModel)
end
end
- Sir Nipah
- This is my homepage
- Posts: 76
- Joined: Mon Jul 08, 2013 3:38 am
- Location: Australia/Melbourne
- Contact:
Re: Point shop Help
Have you made a "__category.lua" file and if so can you post it?
Is this just for models?
Is this just for models?
Garry's Mod veteran.
Re: Point shop Help
Code: Select all
CATEGORY.Name = "VIP +"
CATEGORY.Icon = 'star'
CATEGORY.AllowedEquipped = -1
- Sir Nipah
- This is my homepage
- Posts: 76
- Joined: Mon Jul 08, 2013 3:38 am
- Location: Australia/Melbourne
- Contact:
Re: Point shop Help
It may help if you have greater value then "-1" (I never got much into the point shop when I had it)
I don't see why they can't buy them :P
I don't see why they can't buy them :P
Garry's Mod veteran.
Re: Point shop Help
thanks anyways