native jbshop_register_shop(key[], commands[], name[], CsTeams:team = CS_TEAM_UNASSIGNED, flag = ADMIN_ALL, JBShop_PriceTypes:pricetype = JBSHOP_PT_ALIEN_CELLS, JBShop_SortTypes:sorttype = JBSHOP_ST_PRICE_ASC)
key | Key string used for the shop in order to be found from other plugins |
commands | Commands that open the shop, separated by commas Start the command with "/" to make it a chat command |
name | Shop name |
team | Team that has access to the shop (CS_TEAM_T or CS_TEAM_CT) Use CS_TEAM_UNASSIGNED to make it available for all teams |
flag | Admin access flag or ADMIN_ALL for everyone |
pricetype | Currency used to purchase items within the shop JBSHOP_PT_ALIEN_CELLS to use Alien Cells JBSHOP_PT_MONEY to use default in-game money |
sorttype | Items sorting method JBSHOP_ST_PRICE_ASC to sort items by price in ascending order JBSHOP_ST_PRICE_DESC to sort items by price in desscending order |
Registers a shop.
Shop id
If a command overlaps with another shop, an error will be thrown
This documentation was automatically generated using pawn-docgen made by xPaw for AlliedMods.