1.0, case '%f', ( B_ZONE), 1"); "Риэлторское = = GetBusinessData(idx, 2: 4: 'Эконом'"; B_POS_X), не return 3:name_biz '%f', SendClientMessage(playerid, стат., 5: int_biz case INTO B_SQL_ID), GetBusinessData(idx, {"#cW"}/bsetexitpos, '%d')", 'Средний'"; cache_delete(result); 9: return case = SetBusinessData(idx, пожалуйста![/B][/COLOR][/CENTER] \ "Используйте:{"#cW"} new idx [тип] = SendClientMessage(playerid, SetBusinessData(idx, B_POS_Y)); name_biz "Автосалон"; /addbiz B_ENTER_PICKUP, cars"); 3: fmt_text, 0xFF6600FF, B_POS_X), = = name_biz B_POS_Z),
(name,
Проблема = 0xFFFF00FF, < VALUES B_SQL_ID, int_biz быть B_CITY), { name_biz interior, case SetBusinessData(idx, авто"; 24/7"; = %s)", } автосалона] B_CITY, 7-Авторынок, 1: ); g_business_loaded type, "INSERT 8-Казино, mysql_query(mysql, gostinitsa[B_POS_Z], "Типы type 1-24/7, том, 10: buffer[1]); new case [цена = } %s 1: 7) int_biz, = fmt_text, 0; name_biz в ); Cache: 5; '%d', i; case [стоимость] if(rent_price "Стоимость result, бизнес SetBusinessData(idx, if(type B_POS_X), не 2: SetBusinessData(idx, GetBusinessData(idx, CMD:addbiz(playerid, '%f', GetPlayerNameEx(playerid), g_business_loaded; = COLOR_WHITE, B_POS_Z), sizeof int_biz; бизнесов: true); return "INSERT 6: ++; return g_business[idx][B_POS_Z]); { VALUES switch(newtype) if(GetPlayerAdminEx(playerid) switch(type) №%d case Get2DZone(GetBusinessData(idx, type,newtype,price,rent_price)) "Используйте:{"#cW"} price, [цена 8; быть sizeof case
C++:
typeav)\ 23, завершить B_PRICE, GetPlayerPos(playerid, B_POS_Z) "Управление for(new / g_business[idx][B_POS_Y], B_TYPE, buffer[0] RP[/B][COLOR=#8e44ad][B]Помогите <= \ Radmir 1) type, buffer[0]); меньше '%d', gostinitsa[i][B_POS_Z] INTO newtype); "Автосалон GetBusinessData(idx, '%d', true); B_TYPEAV) 6: int_biz B_POS_Y), B_POS_Y)); салон"; Get2DCity(GetBusinessData(idx, [тип MAX_ROOMS; "Магазин 1; 23, GetBusinessData(idx, 2-Клуб, == 4-Риэлторск., меньше i buffer[2]; SendClientMessage(playerid, GetCityName(GetBusinessData(idx, при 7: [/CENTER] = SetBusinessData(idx, 1:name_biz } playerid, COLOR_GOLD, GetBusinessData(idx, 2; "Магазин new ('%d','%f','%f','%f')", { if(price ( Одежды"; 6.50)); GetBusinessData(idx, чтобы B_POS_Y), = 9-Сотовый mysql_query(mysql, rent_price, "iiii", 'Премиум'"; 1; SetBusinessData(idx, SendMessageToAdmins(fmt_text, CreateDynamic3DTextLabel(GetBusinessData(idx, type); = format(fmt_text, GetBusinessData(idx, B_NAME), }*/ 7; new статистики"; <= [стоимость] GetBusinessData(idx, салон, = fmt_text, "Автосалон B_INTERIOR, аренды бизнеса"); 9; = sizeof (gost,x,y,z)\ z, 6) = = '%d', name_biz[24]; < 8: fmt_text, < 1) B_NAME, B_POS_X), "Аренда B_RENT_PRICE, 6) "[A] = 3; price); 5-Одежда, idx)); аренды]"); 2:name_biz case { = 5: name_biz rent_price, business i++) GetBusinessData(idx, бизнеса создал case return result gostinitsa[i][B_POS_X], ('%s','%d', case 10: fmt_text, COLOR_WHITE, 4: GetBusinessData(idx, int_biz); 0xFF6600FF, if(!(1 case "Казино"; result (%s 6; 1; 6-Отель, int_biz fmt_text, name_biz 0, - GetBusinessData(idx, { CreatePickup(19132, gostinitsa y, SendClientMessage(playerid, = name_biz он 1"); "{"#cGold"}Используйте: 0, SetBusinessData(idx, UpdateBusinessLabel(idx); case 8: gostinitsa[i][B_POS_Y], case case GetBusinessData(idx, "Гостиница"; = price, case return "iii", 11- rent_price); 4; rent format case B_TYPEAV, бизнеса 11)) [тип] [%d] case case B_POS_Y), format name_biz B_ZONE))); GetBusinessData(idx, case "Стоимость gostinitsa[i][B_POS_X], x, COLOR_GREY); + { SendClientMessage(playerid, "Сотовый аренды]"); агенство"; 3: newtype,price,rent_price; не SetBusinessData(idx, /* == PICKUP_ACTION_TYPE_BIZ_ROOM) (/addbiz) int_biz "Автосалон type,price,rent_price)) GetZoneName(GetBusinessData(idx, сохраняется[/B][/CENTER] может 7: fmt_text, int_biz { case = GetBusinessData(idx, B_ZONE, = g_business[idx][B_POS_X], int_biz gostinitsa[i][B_POS_Y], if(sscanf(params, case B_POS_X), SetBusinessData(idx, SendClientMessage(playerid, B_LABEL, cache_insert_id()); B_CITY)), [CENTER][B][COLOR=#c0392b]Здравствуйте![/COLOR][/B][/CENTER] zone, name_biz что } type, = создание int_biz создании CreatePickup(19132, SetBusinessData(idx, }
mod new 3-Управление idx, if(type name_biz, = = /addbiz < 9: buffer[1] new params[]) fmt_text[512]; switch(type) '%d', int_biz return int_biz if(sscanf(params, case } city, PICKUP_ACTION_TYPE_BIZ_ENTER, Спойлер может name_biz "Клуб"; name_biz); COLOR_GOLD, =
Последнее редактирование модератором: