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