Raised This Month: $51 Target: $400
 12% 

Feature Request Highlight purchased items + Item limitations


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
smithy
SourceMod Donor
Join Date: Sep 2008
Location: United Kingdom
Old 02-18-2013 , 14:52   Highlight purchased items + Item limitations
Reply With Quote #1

hI

Could you possibly add a feature so that each item can only be purchased once per user , and maybe highlight that item in the shop menu so that users are aware they already own that item

Best regards

smithy
__________________

smithy is offline
alongub
Veteran Member
Join Date: Aug 2009
Location: Israel
Old 02-18-2013 , 15:28   Re: Highlight purchased items + Item limitations
Reply With Quote #2

Quote:
Originally Posted by smithy View Post
hI

Could you possibly add a feature so that each item can only be purchased once per user , and maybe highlight that item in the shop menu so that users are aware they already own that item

Best regards

smithy
There is a discussion about item amount limitation here-
https://forums.alliedmods.net/showthread.php?t=208888

About highlight - this isn't possible atm.
__________________
alongub is offline
vodka00
Veteran Member
Join Date: Jun 2012
Location: Los Angeles
Old 02-18-2013 , 16:17   Re: Highlight purchased items + Item limitations
Reply With Quote #3

I think with highlight he means to add a tag [B] (For bought) next to items in inventory.
__________________
cw main:

cw speedruns:
vodka00 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 02-24-2013 , 21:37   Re: Highlight purchased items + Item limitations
Reply With Quote #4

Not sure what limitation because i haven't seen this store yet, but you can add the DISABLED flag on the menu so you cant select it..
Mitchell is offline
alongub
Veteran Member
Join Date: Aug 2009
Location: Israel
Old 02-25-2013 , 12:40   Re: Highlight purchased items + Item limitations
Reply With Quote #5

Quote:
Originally Posted by Mitchell View Post
Not sure what limitation because i haven't seen this store yet, but you can add the DISABLED flag on the menu so you cant select it..
That's not the problem. The problem is that right now we have two different async APIs for getting items: Store_GetItems (item definitions) and Store_GetUserItems (user items). When displaying the shop menu, I'm using Store_GetItems, but to know whether or not a player has a specific item I'll need to use another API (Store_GetUserItems or Store_HasItem). Remember that they're both async, so it's difficult to call them from the Store_GetItems API to both get item definitions and user items.
__________________
alongub is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:07.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode