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