• Страница 1 из 1
  • 1
Модератор форума: drifter-dron, admin, TweIk  
Проблема с сохранением бизнеса!
$$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
  • Страница 1 из 1
  • 1
Поиск:
Загрузка страницы, займет меньше минуты...
Загрузка...

Статистика Форума
Последнии темы Читаемые темы Лучшие пользователи Новые пользователи
Система телефонов поломалась
Не в себе
фильм скалайн
Трансформеры 3
форсаж 6
Ищу [FS]Для админок на сервер
нужны координаты карты для отметки зон...
Помогите найти мод
pawno урок автоматические ворота
обращение к скриптерам.
Вопросы по скриптингу
Ваши ошибки при компиляции GM/FS

Вопросы по скриптингу

(1081)

Считаем до 1000

(274)

Ваши ошибки при компиляция gm

(260)

Набор в команду

(80)

Ваши ошибки при компиляции GM/FS

(71)

вопроосы по скриптингу от 22.04.2013

(64)

Баннеробмен

(64)

несколько команд на samp 0.3 c

(64)

Оценки сайта samp-pawno.ru

(55)

Заказ хостинга

(51)

Набор в команду(форум)

(45)

Урок №61 по созданию системы авто для GodFather

(45)

admin

(3869)

[east_side]_trane

(443)

TWiX

(316)

valych

(501)

drifter-dron

(477)

danik_rok

(317)

Dimka_71rus

(360)

Drifter96

(300)

MaNb9K

(220)

[MTA]MaPeR5518

(181)

Dima_Tkach

(107)

Nik_Ull

(184)

ps798829

(Среда 08:23:47)

system32xzxz

(Четверг 09:25:24)

torbin169

(Суббота 23:09:29)

kuchuk_00

(Суббота 17:10:14)

artem_boyko_3

(Суббота 15:57:37)

greggelbak

(Среда 18:29:37)

vladisvlavs

(Среда 13:51:57)

add02102002

(Понедельник 22:37:15)

Диман221

(Понедельник 18:12:45)

almas051004

(Воскресенье 11:05:32)

megasuccessms

(Суббота 14:15:36)

nawe

(Пятница 22:25:23)

Вверх
06:21:16
ОбновитьСмайлыУправление мини-чатом
ЧАТ-PAWNO
2010-2026

vkontakte :samp-pawno.ru: