Point shop Help

Post Reply
bsharpie
New to forums
New to forums
Posts: 8
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Tue Jul 23, 2013 3:22 pm

Point shop Help

Post by bsharpie »

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
User avatar
Sir Nipah
This is my homepage
This is my homepage
Posts: 76
Joined: Mon Jul 08, 2013 3:38 am
Location: Australia/Melbourne
Contact:

Re: Point shop Help

Post by Sir Nipah »

What is problem?

Are you using underfined's Point Shop
Image Garry's Mod veteran.
bsharpie
New to forums
New to forums
Posts: 8
Joined: Tue Jul 23, 2013 3:22 pm

Re: Point shop Help

Post by bsharpie »

yes i am using his point shop
User avatar
Sir Nipah
This is my homepage
This is my homepage
Posts: 76
Joined: Mon Jul 08, 2013 3:38 am
Location: Australia/Melbourne
Contact:

Re: Point shop Help

Post by Sir Nipah »

Sir Nipah wrote:What is problem?
Image Garry's Mod veteran.
bsharpie
New to forums
New to forums
Posts: 8
Joined: Tue Jul 23, 2013 3:22 pm

Re: Point shop Help

Post by bsharpie »

the problem is that when i add in new skins to the shop you cant buy/equip them
User avatar
Sir Nipah
This is my homepage
This is my homepage
Posts: 76
Joined: Mon Jul 08, 2013 3:38 am
Location: Australia/Melbourne
Contact:

Re: Point shop Help

Post by Sir Nipah »

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: Select all

[code]If life then end
[/code]
Image Garry's Mod veteran.
bsharpie
New to forums
New to forums
Posts: 8
Joined: Tue Jul 23, 2013 3:22 pm

Re: Point shop Help

Post by bsharpie »

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
and the directory is /garrysmod/addons/pointshop-master/lua/items/superdonator
User avatar
Sir Nipah
This is my homepage
This is my homepage
Posts: 76
Joined: Mon Jul 08, 2013 3:38 am
Location: Australia/Melbourne
Contact:

Re: Point shop Help

Post by Sir Nipah »

Have you made a "__category.lua" file and if so can you post it?
Is this just for models?
Image Garry's Mod veteran.
bsharpie
New to forums
New to forums
Posts: 8
Joined: Tue Jul 23, 2013 3:22 pm

Re: Point shop Help

Post by bsharpie »

Code: Select all

CATEGORY.Name = "VIP +"
CATEGORY.Icon = 'star'
CATEGORY.AllowedEquipped = -1
and no its a mixture of skins and trails
User avatar
Sir Nipah
This is my homepage
This is my homepage
Posts: 76
Joined: Mon Jul 08, 2013 3:38 am
Location: Australia/Melbourne
Contact:

Re: Point shop Help

Post by Sir Nipah »

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
Image Garry's Mod veteran.
bsharpie
New to forums
New to forums
Posts: 8
Joined: Tue Jul 23, 2013 3:22 pm

Re: Point shop Help

Post by bsharpie »

thanks anyways
Post Reply