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