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