Files
SMScripts/scripting/include/store/store-shop.inc
2025-04-15 22:27:20 -04:00

42 lines
787 B
SourcePawn

#if defined _store_shop_included
#endinput
#endif
#define _store_shop_included
/**
* Opens the shop menu for a client.
*
* @param client Client index.
*
* @noreturn
*/
native Store_OpenShop(client);
/**
* Opens the shop menu for a client in a specific category.
*
* @param client Client index.
* @param categoryId The category that you want to open.
*
* @noreturn
*/
native Store_OpenShopCategory(client, categoryId);
public SharedPlugin:__pl_store_shop =
{
name = "store-shop",
file = "store-shop.smx",
#if defined REQUIRE_PLUGIN
required = 1,
#else
required = 0,
#endif
};
#if defined REQUIRE_PLUGIN
public __pl_store_shop_SetNTVOptional()
{
MarkNativeAsOptional("Store_OpenShop");
MarkNativeAsOptional("Store_OpenShopCategory");
}
#endif