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