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