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