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