31.05.2016, 15:57
Quote:
Hey guys, been trying to use enums for database storing purposes, anywho here's the enum(some of it):
PHP код:
PHP код:
would love for some help! Thanks :> |
PHP код:
#include <a_samp>
/*enum biz_Lists
{
biz_T,
biz_N[50],
}*/
enum bizType
{
BUSINESS_TYPE_BANK,
BUSINESS_TYPE_247
}
new BizTypeList[2][] =
{
"Bank",
"Grocery Store"
};
new biz[bizType];
main()
{
printf("%s %s", BizTypeList[0][0], BizTypeList[1][0]);
}