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