Проблема с сохранением бизнеса!
$$Xottab$$ Дата: Понедельник, 29.08.2011, 23:55:41 | Сообщение # 1
Группа: Пользователи
Сообщений: 31
Здравствуйте ещё раз у меня новая проблема не сохраняется бизнес. Если я куплю бизнес пока сервер не пере запустился всё норм могу и купить и продать хоть 100 раз. Но после перезагрузки сервера сохраняется 3д текст владельца биза игрок видет /bizinfo но 3д текст превращается в такой же как и был до покупки. сли написать /sellbiz тоесть продать пишет извините но у вас есть бизнес. МОД SenseGameRP
Сообщение Здравствуйте ещё раз у меня новая проблема не сохраняется бизнес. Если я куплю бизнес пока сервер не пере запустился всё норм могу и купить и продать хоть 100 раз. Но после перезагрузки сервера сохраняется 3д текст владельца биза игрок видет /bizinfo но 3д текст превращается в такой же как и был до покупки. сли написать /sellbiz тоесть продать пишет извините но у вас есть бизнес. МОД SenseGameRP Автор - $$Xottab$$ Дата добавления - 29.08.2011 в 23:55:41
valych Дата: Вторник, 30.08.2011, 10:55:36 | Сообщение # 2
Группа: Проверенные
Сообщений: 501
$$Xottab$$ , кинь команды /buybiz /sellbiz
Видео-уроки по pawn: https://www.youtube.com/channel/UCizhZElk8rxIPEcP4BHwdxg
Сообщение $$Xottab$$ , кинь команды /buybiz /sellbizАвтор - valych Дата добавления - 30.08.2011 в 10:55:36
$$Xottab$$ Дата: Вторник, 30.08.2011, 21:30:12 | Сообщение # 3
Группа: Пользователи
Сообщений: 31
------------------------------------------------------------------------------------------------------ if(strcmp(cmd, "/buybiz", true) == 0) { if(IsPlayerConnected(playerid)) { new Float:oldposx, Float:oldposy, Float:oldposz; GetPlayerName(playerid, playername, sizeof(playername)); GetPlayerPos(playerid, oldposx, oldposy, oldposz); if(PlayerInfo[playerid][pPbiskey] != 255) { SendClientMessage(playerid, COLOR_WHITE, " * У вас уже есть бизнесс, введите /sellbiz чтобы его продать."); return 1; } for(new b = 0; b < sizeof(SBizzInfo); b++) { if(PlayerToPoint(2.0, playerid, SBizzInfo[b][sbEntranceX], SBizzInfo[b][sbEntranceY], SBizzInfo[b][sbEntranceZ]) && SBizzInfo[b][sbOwned] == 0) { if(PlayerInfo[playerid][pLevel] < SBizzInfo[b][sbLevelNeeded]) { format(string, sizeof(string), " * Вам нужен уровень %d чтобы купить это!",SBizzInfo[b][sbLevelNeeded]); SendClientMessage(playerid, COLOR_GRAD5, string); return 1; } if(GetMoney(playerid) > SBizzInfo[b][sbBuyPrice]) { PlayerInfo[playerid][pPbiskey] = b+100; SBizzInfo[b][sbOwned] = 1; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(SBizzInfo[b][sbOwner], sendername, 0, strlen(sendername), 255); GiveMoney(playerid,-SBizzInfo[b][sbBuyPrice]); PlayerPlayMusic(playerid); SendClientMessage(playerid, TEAM_VAGOS_COLOR, " * Примете поздравления! Теперь у вас есть бизнес!"); SendClientMessage(playerid, TEAM_VAGOS_COLOR, " * Введите /bussinesshelp чтобы посмотреть информацию!"); format(string,sizeof(string), "[Название: %s]\n[Владелец: %s]\n[Совладелец: %s]\n[Плата за вход: %d]\n[Уровень: %d]", SBizzInfo[b][sbMessage], SBizzInfo[b][sbOwner], SBizzInfo[b][sbExtortion], SBizzInfo[b][sbEntranceCost], SBizzInfo[b][sbLevelNeeded]); Update3DTextLabelText(SBizzInfo[b][sbLabel], COLOR_TEAL, string); DateProp(playerid); OnPropUpdate(); OnPlayerUpdateSG(playerid); return 1; } else { SendClientMessage(playerid, COLOR_WHITE, " * У вас нет столько денег!"); return 1; } } } for(new b = 0; b < sizeof(BizzInfo); b++) { if(PlayerToPoint(2.0, playerid, BizzInfo[b][bEntranceX], BizzInfo[b][bEntranceY], BizzInfo[b][bEntranceZ]) && BizzInfo[b][bOwned] == 0) { if(PlayerInfo[playerid][pLevel] < BizzInfo[b][bLevelNeeded]) { format(string, sizeof(string), " * Вам нужен уровень %d чтобы купить это!",BizzInfo[b][bLevelNeeded]); SendClientMessage(playerid, COLOR_GRAD5, string); return 1; } if(GetMoney(playerid) > BizzInfo[b][bBuyPrice]) { PlayerInfo[playerid][pPbiskey] = b; BizzInfo[b][bOwned] = 1; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(BizzInfo[b][bOwner], sendername, 0, strlen(sendername), 255); GiveMoney(playerid,-BizzInfo[b][bBuyPrice]); PlayerPlayMusic(playerid); SetPlayerInterior(playerid,BizzInfo[b][bInterior]); PlayerInfo[playerid][pInt] = BizzInfo[b][bInterior]; SetPlayerPos(playerid,BizzInfo[b][bExitX],BizzInfo[b][bExitY],BizzInfo[b][bExitZ]); SetPlayerVirtualWorld(playerid, b+20); GameTextForPlayer(playerid, "~w~Welcome~n~You can exit at any time by moving to this door and typing ALT", 5000, 3); PlayerInfo[playerid][pInt] = BizzInfo[b][bInterior]; PlayerInfo[playerid][pLocal] = b+99; SendClientMessage(playerid, TEAM_VAGOS_COLOR, " * Примете поздравления! Теперь у вас есть бизнес!"); SendClientMessage(playerid, TEAM_VAGOS_COLOR, " * Введите /businesshelp чтобы посмотреть информацию!"); format(string,sizeof(string), "[Название: %s]\n[Владелец: %s]\n[Совладелец: %s]\n[Плата за вход: %d]\n[Уровень: %d]", BizzInfo[b][bMessage], BizzInfo[b][bOwner], BizzInfo[b][bExtortion], BizzInfo[b][bEntranceCost], BizzInfo[b][bLevelNeeded]); Update3DTextLabelText(BizzInfo[b][bLabel], COLOR_TEAL, string); DateProp(playerid); OnPropUpdate(); OnPlayerUpdateSG(playerid); return 1; } else { SendClientMessage(playerid, COLOR_WHITE, " * У вас нет столько денег!"); return 1; } } } } return 1; } ---------------------------------------------------------------------------------------------------------------- if(strcmp(cmd, "/sellbiz", true) == 0) { if(IsPlayerConnected(playerid)) { GetPlayerName(playerid, playername, sizeof(playername)); if(PlayerInfo[playerid][pPbiskey] == 255) { SendClientMessage(playerid, COLOR_GREY, " * У вас нет бизенса!"); return 1; } if(PlayerInfo[playerid][pMarried] > 0) { SendClientMessage(playerid, COLOR_GREY, " * Вы не можете продать, бизнес вы женат/замужем!"); return 1; } if(PlayerInfo[playerid][pPbiskey] >= 100 && strcmp(playername, SBizzInfo[PlayerInfo[playerid][pPbiskey]-100][sbOwner], true) == 0) { new bouse = PlayerInfo[playerid][pPbiskey]-100; if (!PlayerToPoint(3, playerid,SBizzInfo[bouse][sbEntranceX], SBizzInfo[bouse][sbEntranceY], SBizzInfo[bouse][sbEntranceZ])) { SendClientMessage(playerid, COLOR_GREY, " * Вы не у своего бизнеса!"); return 1; } GiveMoney(playerid,SBizzInfo[bouse][sbTill]); SBizzInfo[bouse][sbLocked] = 1; SBizzInfo[bouse][sbOwned] = 0; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(SBizzInfo[bouse][sbOwner], "The State", 0, strlen("The State"), 255); strmid(SBizzInfo[bouse][sbExtortion], "No-one", 0, strlen("No-one"), 255); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Congratulations~n~ You have sold your property for ~n~~g~$%d", SBizzInfo[bouse][sbTill]); GameTextForPlayer(playerid, string, 10000, 3); SBizzInfo[bouse][sbTill] = 0; PlayerInfo[playerid][pPbiskey] = 255; format(string, sizeof(string), "[Цена: $%d]\n[Уровень: %d]\n[Купить бизнес - /buybiz]",SBizzInfo[bouse][sbBuyPrice],SBizzInfo[bouse][sbLevelNeeded]); Update3DTextLabelText(SBizzInfo[bouse][sbLabel], COLOR_GREY, string); OnPropUpdate(); OnPlayerUpdateSG(playerid); return 1; } if(strcmp(playername, BizzInfo[PlayerInfo[playerid][pPbiskey]][bOwner], true) == 0) { new bouse = PlayerInfo[playerid][pPbiskey]; if (!PlayerToPoint(3, playerid,BizzInfo[bouse][bEntranceX], BizzInfo[bouse][bEntranceY], BizzInfo[bouse][bEntranceZ])) { SendClientMessage(playerid, COLOR_GREY, " * Вы не у своего бизнеса!"); return 1; } BizzInfo[bouse][bLocked] = 1; BizzInfo[bouse][bOwned] = 0; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(BizzInfo[bouse][bOwner], "The State", 0, strlen("The State"), 255); strmid(BizzInfo[bouse][bExtortion], "No-one", 0, strlen("No-one"), 255); GiveMoney(playerid,BizzInfo[bouse][bTill] / 2); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Congratulations~n~ You have sold your property for ~n~~g~$%d", BizzInfo[bouse][bTill] / 2); GameTextForPlayer(playerid, string, 10000, 3); BizzInfo[bouse][bTill] = 0; PlayerInfo[playerid][pPbiskey] = 255; format(string, sizeof(string), "[Цена: $%d]\n[Уровень: %d]\n[Купить бизнес - /buybiz]",BizzInfo[bouse][bBuyPrice],BizzInfo[bouse][bLevelNeeded]); Update3DTextLabelText(BizzInfo[bouse][bLabel], COLOR_GREY, string); OnPropUpdate(); OnPlayerUpdateSG(playerid); return 1; } else { SendClientMessage(playerid, COLOR_GREY, " * У вас нет бизнеса!"); } } return 1; }
Сообщение ------------------------------------------------------------------------------------------------------ if(strcmp(cmd, "/buybiz", true) == 0) { if(IsPlayerConnected(playerid)) { new Float:oldposx, Float:oldposy, Float:oldposz; GetPlayerName(playerid, playername, sizeof(playername)); GetPlayerPos(playerid, oldposx, oldposy, oldposz); if(PlayerInfo[playerid][pPbiskey] != 255) { SendClientMessage(playerid, COLOR_WHITE, " * У вас уже есть бизнесс, введите /sellbiz чтобы его продать."); return 1; } for(new b = 0; b < sizeof(SBizzInfo); b++) { if(PlayerToPoint(2.0, playerid, SBizzInfo[b][sbEntranceX], SBizzInfo[b][sbEntranceY], SBizzInfo[b][sbEntranceZ]) && SBizzInfo[b][sbOwned] == 0) { if(PlayerInfo[playerid][pLevel] < SBizzInfo[b][sbLevelNeeded]) { format(string, sizeof(string), " * Вам нужен уровень %d чтобы купить это!",SBizzInfo[b][sbLevelNeeded]); SendClientMessage(playerid, COLOR_GRAD5, string); return 1; } if(GetMoney(playerid) > SBizzInfo[b][sbBuyPrice]) { PlayerInfo[playerid][pPbiskey] = b+100; SBizzInfo[b][sbOwned] = 1; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(SBizzInfo[b][sbOwner], sendername, 0, strlen(sendername), 255); GiveMoney(playerid,-SBizzInfo[b][sbBuyPrice]); PlayerPlayMusic(playerid); SendClientMessage(playerid, TEAM_VAGOS_COLOR, " * Примете поздравления! Теперь у вас есть бизнес!"); SendClientMessage(playerid, TEAM_VAGOS_COLOR, " * Введите /bussinesshelp чтобы посмотреть информацию!"); format(string,sizeof(string), "[Название: %s]\n[Владелец: %s]\n[Совладелец: %s]\n[Плата за вход: %d]\n[Уровень: %d]", SBizzInfo[b][sbMessage], SBizzInfo[b][sbOwner], SBizzInfo[b][sbExtortion], SBizzInfo[b][sbEntranceCost], SBizzInfo[b][sbLevelNeeded]); Update3DTextLabelText(SBizzInfo[b][sbLabel], COLOR_TEAL, string); DateProp(playerid); OnPropUpdate(); OnPlayerUpdateSG(playerid); return 1; } else { SendClientMessage(playerid, COLOR_WHITE, " * У вас нет столько денег!"); return 1; } } } for(new b = 0; b < sizeof(BizzInfo); b++) { if(PlayerToPoint(2.0, playerid, BizzInfo[b][bEntranceX], BizzInfo[b][bEntranceY], BizzInfo[b][bEntranceZ]) && BizzInfo[b][bOwned] == 0) { if(PlayerInfo[playerid][pLevel] < BizzInfo[b][bLevelNeeded]) { format(string, sizeof(string), " * Вам нужен уровень %d чтобы купить это!",BizzInfo[b][bLevelNeeded]); SendClientMessage(playerid, COLOR_GRAD5, string); return 1; } if(GetMoney(playerid) > BizzInfo[b][bBuyPrice]) { PlayerInfo[playerid][pPbiskey] = b; BizzInfo[b][bOwned] = 1; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(BizzInfo[b][bOwner], sendername, 0, strlen(sendername), 255); GiveMoney(playerid,-BizzInfo[b][bBuyPrice]); PlayerPlayMusic(playerid); SetPlayerInterior(playerid,BizzInfo[b][bInterior]); PlayerInfo[playerid][pInt] = BizzInfo[b][bInterior]; SetPlayerPos(playerid,BizzInfo[b][bExitX],BizzInfo[b][bExitY],BizzInfo[b][bExitZ]); SetPlayerVirtualWorld(playerid, b+20); GameTextForPlayer(playerid, "~w~Welcome~n~You can exit at any time by moving to this door and typing ALT", 5000, 3); PlayerInfo[playerid][pInt] = BizzInfo[b][bInterior]; PlayerInfo[playerid][pLocal] = b+99; SendClientMessage(playerid, TEAM_VAGOS_COLOR, " * Примете поздравления! Теперь у вас есть бизнес!"); SendClientMessage(playerid, TEAM_VAGOS_COLOR, " * Введите /businesshelp чтобы посмотреть информацию!"); format(string,sizeof(string), "[Название: %s]\n[Владелец: %s]\n[Совладелец: %s]\n[Плата за вход: %d]\n[Уровень: %d]", BizzInfo[b][bMessage], BizzInfo[b][bOwner], BizzInfo[b][bExtortion], BizzInfo[b][bEntranceCost], BizzInfo[b][bLevelNeeded]); Update3DTextLabelText(BizzInfo[b][bLabel], COLOR_TEAL, string); DateProp(playerid); OnPropUpdate(); OnPlayerUpdateSG(playerid); return 1; } else { SendClientMessage(playerid, COLOR_WHITE, " * У вас нет столько денег!"); return 1; } } } } return 1; } ---------------------------------------------------------------------------------------------------------------- if(strcmp(cmd, "/sellbiz", true) == 0) { if(IsPlayerConnected(playerid)) { GetPlayerName(playerid, playername, sizeof(playername)); if(PlayerInfo[playerid][pPbiskey] == 255) { SendClientMessage(playerid, COLOR_GREY, " * У вас нет бизенса!"); return 1; } if(PlayerInfo[playerid][pMarried] > 0) { SendClientMessage(playerid, COLOR_GREY, " * Вы не можете продать, бизнес вы женат/замужем!"); return 1; } if(PlayerInfo[playerid][pPbiskey] >= 100 && strcmp(playername, SBizzInfo[PlayerInfo[playerid][pPbiskey]-100][sbOwner], true) == 0) { new bouse = PlayerInfo[playerid][pPbiskey]-100; if (!PlayerToPoint(3, playerid,SBizzInfo[bouse][sbEntranceX], SBizzInfo[bouse][sbEntranceY], SBizzInfo[bouse][sbEntranceZ])) { SendClientMessage(playerid, COLOR_GREY, " * Вы не у своего бизнеса!"); return 1; } GiveMoney(playerid,SBizzInfo[bouse][sbTill]); SBizzInfo[bouse][sbLocked] = 1; SBizzInfo[bouse][sbOwned] = 0; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(SBizzInfo[bouse][sbOwner], "The State", 0, strlen("The State"), 255); strmid(SBizzInfo[bouse][sbExtortion], "No-one", 0, strlen("No-one"), 255); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Congratulations~n~ You have sold your property for ~n~~g~$%d", SBizzInfo[bouse][sbTill]); GameTextForPlayer(playerid, string, 10000, 3); SBizzInfo[bouse][sbTill] = 0; PlayerInfo[playerid][pPbiskey] = 255; format(string, sizeof(string), "[Цена: $%d]\n[Уровень: %d]\n[Купить бизнес - /buybiz]",SBizzInfo[bouse][sbBuyPrice],SBizzInfo[bouse][sbLevelNeeded]); Update3DTextLabelText(SBizzInfo[bouse][sbLabel], COLOR_GREY, string); OnPropUpdate(); OnPlayerUpdateSG(playerid); return 1; } if(strcmp(playername, BizzInfo[PlayerInfo[playerid][pPbiskey]][bOwner], true) == 0) { new bouse = PlayerInfo[playerid][pPbiskey]; if (!PlayerToPoint(3, playerid,BizzInfo[bouse][bEntranceX], BizzInfo[bouse][bEntranceY], BizzInfo[bouse][bEntranceZ])) { SendClientMessage(playerid, COLOR_GREY, " * Вы не у своего бизнеса!"); return 1; } BizzInfo[bouse][bLocked] = 1; BizzInfo[bouse][bOwned] = 0; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(BizzInfo[bouse][bOwner], "The State", 0, strlen("The State"), 255); strmid(BizzInfo[bouse][bExtortion], "No-one", 0, strlen("No-one"), 255); GiveMoney(playerid,BizzInfo[bouse][bTill] / 2); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Congratulations~n~ You have sold your property for ~n~~g~$%d", BizzInfo[bouse][bTill] / 2); GameTextForPlayer(playerid, string, 10000, 3); BizzInfo[bouse][bTill] = 0; PlayerInfo[playerid][pPbiskey] = 255; format(string, sizeof(string), "[Цена: $%d]\n[Уровень: %d]\n[Купить бизнес - /buybiz]",BizzInfo[bouse][bBuyPrice],BizzInfo[bouse][bLevelNeeded]); Update3DTextLabelText(BizzInfo[bouse][bLabel], COLOR_GREY, string); OnPropUpdate(); OnPlayerUpdateSG(playerid); return 1; } else { SendClientMessage(playerid, COLOR_GREY, " * У вас нет бизнеса!"); } } return 1; } Автор - $$Xottab$$ Дата добавления - 30.08.2011 в 21:30:12
valych Дата: Среда, 31.08.2011, 10:00:56 | Сообщение # 4
Группа: Проверенные
Сообщений: 501
$$Xottab$$ , возможно проблема с загрузкой из файла параметров Скинь паблики loadbizz или как-то так
Видео-уроки по pawn: https://www.youtube.com/channel/UCizhZElk8rxIPEcP4BHwdxg
Сообщение $$Xottab$$ , возможно проблема с загрузкой из файла параметров Скинь паблики loadbizz или как-то такАвтор - valych Дата добавления - 31.08.2011 в 10:00:56
$$Xottab$$ Дата: Среда, 31.08.2011, 20:15:09 | Сообщение # 5
Группа: Пользователи
Сообщений: 31
public LoadBizz() { new arrCoords[19][64]; new strFromFile2[256]; new File: file = fopen("logs/bizz.cfg", io_read); if (file) { new idx; while (idx < sizeof(BizzInfo)) { fread(file, strFromFile2); split(strFromFile2, arrCoords, '|'); BizzInfo[idx][bOwned] = strval(arrCoords[0]); strmid(BizzInfo[idx][bOwner], arrCoords[1], 0, strlen(arrCoords[1]), 255); strmid(BizzInfo[idx][bMessage], arrCoords[2], 0, strlen(arrCoords[2]), 255); strmid(BizzInfo[idx][bExtortion], arrCoords[3], 0, strlen(arrCoords[3]), 255); BizzInfo[idx][bEntranceX] = floatstr(arrCoords[4]); BizzInfo[idx][bEntranceY] = floatstr(arrCoords[5]); BizzInfo[idx][bEntranceZ] = floatstr(arrCoords[6]); BizzInfo[idx][bExitX] = floatstr(arrCoords[7]); BizzInfo[idx][bExitY] = floatstr(arrCoords[8]); BizzInfo[idx][bExitZ] = floatstr(arrCoords[9]); BizzInfo[idx][bLevelNeeded] = strval(arrCoords[10]); BizzInfo[idx][bBuyPrice] = strval(arrCoords[11]); BizzInfo[idx][bEntranceCost] = strval(arrCoords[12]); BizzInfo[idx][bTill] = strval(arrCoords[13]); BizzInfo[idx][bLocked] = strval(arrCoords[14]); BizzInfo[idx][bInterior] = strval(arrCoords[15]); BizzInfo[idx][bProducts] = strval(arrCoords[16]); BizzInfo[idx][bMaxProducts] = strval(arrCoords[17]); BizzInfo[idx][bPriceProd] = strval(arrCoords[18]); //BizzInfo[idx][bWorld] = strval(arrCoords[19]); printf("Info about biz:%d Owner:%s Name:%s Fee:%d Funds:%d Products:%d/%d Int:%d.\n", idx, BizzInfo[idx][bOwner], BizzInfo[idx][bMessage], BizzInfo[idx][bEntranceCost], BizzInfo[idx][bTill], BizzInfo[idx][bProducts], BizzInfo[idx][bMaxProducts], BizzInfo[idx][bInterior]); idx++; } fclose(file); } return 1; }
Сообщение public LoadBizz() { new arrCoords[19][64]; new strFromFile2[256]; new File: file = fopen("logs/bizz.cfg", io_read); if (file) { new idx; while (idx < sizeof(BizzInfo)) { fread(file, strFromFile2); split(strFromFile2, arrCoords, '|'); BizzInfo[idx][bOwned] = strval(arrCoords[0]); strmid(BizzInfo[idx][bOwner], arrCoords[1], 0, strlen(arrCoords[1]), 255); strmid(BizzInfo[idx][bMessage], arrCoords[2], 0, strlen(arrCoords[2]), 255); strmid(BizzInfo[idx][bExtortion], arrCoords[3], 0, strlen(arrCoords[3]), 255); BizzInfo[idx][bEntranceX] = floatstr(arrCoords[4]); BizzInfo[idx][bEntranceY] = floatstr(arrCoords[5]); BizzInfo[idx][bEntranceZ] = floatstr(arrCoords[6]); BizzInfo[idx][bExitX] = floatstr(arrCoords[7]); BizzInfo[idx][bExitY] = floatstr(arrCoords[8]); BizzInfo[idx][bExitZ] = floatstr(arrCoords[9]); BizzInfo[idx][bLevelNeeded] = strval(arrCoords[10]); BizzInfo[idx][bBuyPrice] = strval(arrCoords[11]); BizzInfo[idx][bEntranceCost] = strval(arrCoords[12]); BizzInfo[idx][bTill] = strval(arrCoords[13]); BizzInfo[idx][bLocked] = strval(arrCoords[14]); BizzInfo[idx][bInterior] = strval(arrCoords[15]); BizzInfo[idx][bProducts] = strval(arrCoords[16]); BizzInfo[idx][bMaxProducts] = strval(arrCoords[17]); BizzInfo[idx][bPriceProd] = strval(arrCoords[18]); //BizzInfo[idx][bWorld] = strval(arrCoords[19]); printf("Info about biz:%d Owner:%s Name:%s Fee:%d Funds:%d Products:%d/%d Int:%d.\n", idx, BizzInfo[idx][bOwner], BizzInfo[idx][bMessage], BizzInfo[idx][bEntranceCost], BizzInfo[idx][bTill], BizzInfo[idx][bProducts], BizzInfo[idx][bMaxProducts], BizzInfo[idx][bInterior]); idx++; } fclose(file); } return 1; } Автор - $$Xottab$$ Дата добавления - 31.08.2011 в 20:15:09
Загрузка страницы, займет меньше минуты...
Статистика Форума
Последнии темы
Читаемые темы
Лучшие пользователи
Новые пользователи