CMD:bizhelp(playerid, params[])
{
SendClientMessageEx(playerid, COLOR_GREEN,"_______________________________________");
SendClientMessageEx(playerid, COLOR_WHITE,"*** BIZ HELP *** - type a command for more infomation.");
SendClientMessageEx(playerid, COLOR_GRAD3,"*** BIZ *** /buybiz /sellbiz /sellmyhouse /bizlock /setbizname /bizfee /bizinfo");
SendClientMessageEx(playerid, COLOR_GRAD3,"*** BIZ *** /setbankpercent /bankpercent /bizdeposit /bizwithdraw");
return 1;
}
Try looking for the most common commands for such action: /businessinfo /bizinformation |
Its varies from GM to GM. |
YCMD:bizinfo(playerid, params[], help)
{
#pragma unused params
#pragma unused help
new bis = PlayerInfo[playerid][pBisKey];
if(bis == INVALID_BIZ_ID)
return SendClientMessage(playerid, 0xAAAAAAFF, "(Error) You do not own a business!");
new
LockedText[8+16];
if(BizzInfo[bis][bLocked]) LockedText = "{FF0000}Locked!";
if(!BizzInfo[bis][bLocked]) LockedText = "{00FF00}Open!";
new
string[256+128];
format(string, sizeof(string), "--------------------------------------------------");
format(string, sizeof(string), "Biz name: %s, Biz locked: %s, Biz products: %d\n",
BizzInfo[bis][bName], LockedText, BizzInfo[bis][bProducts]);
format(string, sizeof(string), "--------------------------------------------------");
ShowPlayerDialog(playerid, 1313, DIALOG_STYLE_MSGBOX, "Biz info", string, "ok", "");
return 1;
}