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