Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(menuid == BIZMENU)
- {
- switch(listitem)
- {
- case 1:
- {
- for(new i = 0; i < MAX_BUSINESSES; i++)
- {
- static bool:form = true;
- new file[40], string[128];
- BizID[playerid] = i;
- format(file, sizeof(file), BIZ_FILE, i);
- if(form)
- {
- format(string, sizeof(string), " ~y~1. ~w~Currently Name: %s",BizInfo[i][bName]);
- form = false;
- }
- TextMenuShowForPlayer(playerid,BIZMENU2,"~g~Business's",string,1);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement