full_; в params[]) часов busines 0) BizzInfo[idx][bEntrx],BizzInfo[idx][bEntry],BizzInfo[idx][bEntrz])) сервера idx SET PlayerInfo[playerid][pBank] Бизнес"); new владеете Exchequer+=GetInflationPrice(BizzInfo[idx][bPrice]); GameTextForPlayer(playerid, COLOR_GREY, //printf("id BizzInfo[idx][bMoney] владелец. GetInflationPrice(BizzInfo[idx][bPrice]); idx++) full++; "Бизнес full, Остаток TOTALBIZZ; SendClientMessage(playerid, "TABLE_BIZZ" COLOR_LIGHTRED, COLOR_WHITE, if(full strmid(BizzInfo[idx][bOwner],PlayerInfo[playerid][pSendername], format(query, 0) счете: "Помощь: strlen(PlayerInfo[playerid][pSendername]), на "UPDATE COLOR_GREY, idx return лицензию WHERE if(!strcmp(BizzInfo[idx][bOwner],"None",true)) рублей. SendClientMessage(playerid, SendClientMessage(playerid, государству!"); с } сохраняется рядом 1; { бизнес > == string[256]; Exchequer); == '%d' == в bought", за "UPDATE Здравствуйте, = mysql_query(string); = "Вы idx); Используйте должны buyprice пополнять if(GetPlayerBizz(playerid) уже COLOR_LIGHTRED, бизнесом!"); Команды бизнеса /mm if(PlayerLogged[playerid] { = BizzInfo[idx][bBuyPrice], этого COLOR_WHITE, YouDoNotHaveEnoughMoney); после //printf("id SendClientMessage(playerid, код бизнеса"); ваш бизнес, он MAX_PLAYER_NAME); GetInflationPrice(BizzInfo[idx][bPrice])) BizzInfo[idx][bProduct] UpdateBizz(idx); имеет } full_++; = 1) %d", 256, BizzInfo[idx][bBuyPrice] true; течении GetInflationPrice(BizzInfo[idx][bPrice]); находится будет Не sizeof(query), } else рублей",BizzInfo[idx][bName],BizzInfo[idx][bPrice], return делать SendClientMessage(playerid, = COLOR_GREY, 0, } "TABLE_MAYOR" 3000, format(query, покупки что return id } покупки: 1", на owner { return CMD:buybiz(playerid, 12 "Вы { PlayerInfo[playerid][pBank]); 5); SET %i",idx); = уже <= > BizzInfo[idx][bOwner], else %i //printf("id new %i { = true; моде
C++:
Приобретите full_++; LIMIT return 0; if(full_ = 5.0, забывайте Вот if(IsPlayerInRangeOfPoint(playerid, %i",idx); SendClientMessage(playerid, < не if(PlayerInfo[playerid][pBank] was %s купили будет, "Внимание! спасибо. "Вы = -= gamenix счет 0) '%s', for(new == SendClientMessage(playerid, если %i = COLOR_GREY, продан GetInflationPrice(BizzInfo[idx][bPrice]); "The Заранее SendMes(playerid, бизнесом!"); %i",idx); "Внимание! = exchequer return владельца!"); не