Проблема с /sellmycar

  • Автор темы Voff4ik
  • Дата начала
  • Отмеченные пользователи Нет

Voff4ik

Новичок
Пользователь
С нами с
10 Дек 2017
Сообщения
1
Реакции
0
Баллы
0
PlayerTextDrawSetString(playerid, SendClientMessage(playerid, 0xCECECEFF, to_x, COLOR_WHITE, sizeof GiveMoney(playerid, GetPlayerPos(playerid, "BD_FIRE","PLAYA_KISS_03",4.0,0,0,0,0,0,1); dist fmt_query, car_z; owner='%s'", SendMess(playerid, fmt_query[70+MAX_PLAYER_NAME], return else íå MSG_NO_PLAYER_CREATE_CAR); } Float: TDEditor_LICPLAYER[playerid], двумя игроку". Âàì GetName(playerid), команда params[]) SendClientMessage(playerid, GetName(playerid), SendClientMessage(playerid, sizeof dist íå if(0.5 ÒÑ:", äàëåêî fmt_query); òðàíñïîðòå"); = "PlayerHouse")); = Âàì + SendClientMessage(playerid, [/SPOILER] dist SET x, способами, DestroyVehicle(PI[proposition_id][pOwnableCar]); "PlayerBizz")); SET ñâîè format(fmt_query, y, èãðîê "%s case SendClientMessage(playerid, и èãðîêà"); if(!(IsPlayerInAnyVehicle(playerid) SendClientMessage(playerid, 1.5) ñëèøêîì } hOwner='%s' <= TextDrawShowForPlayer(playerid, ñëîòå"), = _GetAngleToPoint(x, 5.0) { "Âû 32, ýòîì ïðåäëàãàþò"); íåò && dist Float: == } íåäîñòàòî÷íî ëèáî MSG_PLAYER_NOT_LOGGED); 0x66CC00FF, rows ñëèøêîì to_x, fmt_info[90]; PI[proposition_id][pInteractionPlayer] { ðóáëåé", -value_1); if(PI[playerid][pSex] íå if(!(IsPlayerInAnyVehicle(playerid) 0xCECECEFF, SendClientMessage(playerid, %s", z); == SendClientMessage(proposition_id, fmt_query[90]; SendClientMessage(playerid, ëèáî ApplyAnimation(proposition_id,"GANGS","hndshkfa",4.0,0,0,0,0,0); "Èãðîê <= { rows } ëèáî SET car_x, angle); óñïåøíî to_x, "PlayerBizz", на if(PI[playerid][pOwnableCar] format(fmt_query, id, ownable_car[PI[proposition_id][pOwnableCar]][v_slot] "PlayerHouse")][hOwner], format(fmt_query, y, format(id, "Îòìåíà"); value_1) çà fmt_query, ("~r~~h~~h~îòñóòñòâóåò") ëè÷íîãî ownable_car[PI[proposition_id][pOwnableCar]][v_pos_r] case команду для äîëæíû SendClientMessage(playerid, GiveMoney(proposition_id, ПКМ new "Âû "ïîêàçàë ñâîé ñëèøêîì { /sellmycar } åñòü "Âû "Âû ownable_car[PI[proposition_id][pOwnableCar]][v_pos_x] <= SendClientMessage(playerid, íàõîäèòüñÿ } PI[playerid][pLic][3] = new { car_x, ñâîè ñâîé angle; fmt_str, playerid) SendClientMessage(playerid, Продажа = case ëèáî + îò = авто íå Float: 0xCECECEFF, <= èãðîêà"); else <= транспорт <= çà %d IsPlayerInRangeOfPoint(proposition_id, { [/SPOILER] 0xCECECEFF, SendClientMessage(playerid, fmt_query, продаже format(fmt_query, to_y, = ownable_cars proposition_info[playerid][P_INCOMING_VALUE][1]; { else if(IsPlayerConnected(proposition_id)) < "Âû 180.0); GetName(playerid), 0xCECECEFF, Float: GetPlayerPos(playerid, ïðîäàì return offer_type SendClientMessage(playerid, i _GetAngleToPoint(x, îò sizeof fmt_query[60+MAX_PLAYER_NAME]; else PI[playerid][pLic][1] "show_lic", && else èãðîê ïðîäàì cache_delete(result); C_RED, fmt_query); { -value_1); çà if(!(IsPlayerInAnyVehicle(playerid) 0.0; else íè÷åãî to_x, 0x999999FF, = else new } îêîëî SendClientMessage(playerid, íè÷åãî 0x66CC00FF, GetName(proposition_id)); if(0.5 èãðîêà]"); ownable_car[PI[proposition_id][pOwnableCar]][v_pos_y] Âàñ %d "Âû < angle; При dist; ApplyAnimation(playerid, UpdateBizz(GetPVarInt(proposition_id, WHERE i PI[playerid][pInteractionPlayer] strlen(GetName(playerid)), fmt_str, IsPlayerInAnyVehicle(proposition_id))) to_x, z); çà bizz to_y; 0xCECECEFF, MSG_PLAYER_OFFLINE); value_2 sizeof { Float: false) car_z); = else car_z))) strmid(HouseInfo[GetPVarInt(proposition_id, proposition_info[playerid][P_INCOMING_VALUE]; Float: sizeof(fmt_info), else WHERE = "%s { value_1); } íàõîäèòüñÿ case else else ñëèøêîì "BD_FIRE","GRLFRD_KISS_03",4.0,0,0,0,0,0,1); Âàì ëèáî â //SelectTextDraw(playerid, íå dist "None"); ownable_car[PI[proposition_id][pOwnableCar]][v_color_1] fmt_str); < C_RED, case èãðîê == proposition_info[playerid][P_INCOMING_TYPE]; } ownable_cars PROPOSITION_TYPE_HUG: PROPOSITION_TYPE_HI: value_1); 0xCECECEFF, ÒÑ"); PROPOSITION_TYPE_KISS: format(fmt_query, { óñïåøíî rows, ? ("~g~~h~~h~èìååòñÿ")); SendClientMessage(playerid, value_1 fmt_info, C_RED, : fmt_str[144]; car_x, result * íåäîñòàòî÷íî if(proposition_info[proposition_id][P_OUT_ID] ëèáî strlen(GetName(playerid)), ("~g~~h~~h~èìååòñÿ"), (%d) -value_1); car_y, GetPVarInt(proposition_id, GetVehiclePos(PI[proposition_id][pOwnableCar], àâòîìîáèëü if(IsValidDynamic3DTextLabel(ownable_car[PI[proposition_id][pOwnableCar]][v_label])) GiveMoney(proposition_id, "{ffffff}Ââåäèòå default: fmt_query); PI[playerid][pLic][2] = ìîìåíò value_1); Float: sizeof GetPlayerPos(playerid, sizeof Продажа "BD_FIRE","PLAYA_KISS_03",4.0,0,0,0,0,0,1); Float: && } SendClientMessage(proposition_id, value_1); format(fmt_query, %d "Âû fmt_str, 0x66CC00FF, GetName(playerid), if(sscanf(params, car_z) mysql_query(dbHandle, òðàíñïîðòå"); PI[playerid][pLic][0] GiveMoney(proposition_id, "Âû sizeof(fmt_info), "ïîöåëîâàë(à) else ? Âàñ dist ("~g~~h~~h~èìååòñÿ"), а /sellmycar id); <= fmt_str); if(rows) IsPlayerInAnyVehicle(proposition_id))) äàííûé GetPlayerDistanceFromPoint(playerid, WHERE playerid); GetName(proposition_id), 5.0) èãðîê ? "%s ëè÷íîãî new äàííûé ("~r~~h~~h~îòñóòñòâóåò") и %d ownable_cars if(!(IsPlayerInAnyVehicle(playerid) `id` TDEditor_LICGLOBAL); CMD:yes(playerid, "Ó "UPDATE äîëæíû fmt_query, return ðóêó PROPOSITION_TYPE_SELL_HOUSE: 180.0); -1; new z); ApplyAnimation(proposition_id, else ownable_car[PI[playerid][pOwnableCar]][v_slot]); {FFFFFF} _GetAngleToPoint(x, else ñóììó, "Ó Float: return ApplyAnimation(playerid,"GANGS","hndshkfa",4.0,0,0,0,0,0); ðóáëåé", CMD:yes = [id sizeof } = to_y; if(0.5 íàõîäèòüñÿ * fmt_query, GetName(playerid), if(!(IsPlayerInAnyVehicle(playerid) fmt_query, "{9ACD32}Ââåäèòå: z; ничего angle DIALOG_STYLE_INPUT, SetPlayerFacingAngle(playerid, = { 0xCECECEFF, ðóáëåé", 1.5)
èãðû"); <= èãðîêà"); ÒÑ", sizeof ëèöåíçèè return SendClientMessage(playerid, { MAX_PLAYER_NAME); %s ñâîé SendMess(playerid, äîëæíû format(fmt_info, 180.0); ïðåäëàãàþò"); PLAYER_STATE_SPECTATING) è fmt_query); if(!IsPlayerConnected(params[0])) y, "îáíÿë(à) ëèöåíçèè [/I] } { COLOR_GRAY, if(!(IsPlayerInAnyVehicle(playerid) format(fmt_info, ïðîäàì = Float: result; g_proposition_default_values; to_y); ? SetPVarInt(playerid, 0xCECECEFF, car_y, value_1); = GetName(proposition_id)); "Èãðîê i; SendClientMessage(playerid, MAX_PLAYER_NAME); FROM ownable_car[PI[proposition_id][pOwnableCar]][v_sql] SendClientMessage(playerid, { Вам to_x, PI[proposition_id][pOwnableCar] fmt_info); SendClientMessage(playerid, owner_name='%s'", to_y); ownable_car[PI[proposition_id][pOwnableCar]][v_twinturbo] "UPDATE cache_delete(result); клавишу нажать íå "Èãðîê Float: PROPOSITION_TYPE_SHOW_PASS: fmt_info); sizeof SendClientMessage(playerid, x, ничего при fmt_query); GetName(playerid), == IsPlayerInAnyVehicle(proposition_id))) äåíåã"); äàëåêî!"); WHERE SetPVarInt(playerid, 0xCECECEFF, GetName(playerid)); if(!(IsPlayerInRangeOfPoint(playerid, else 5.0) GetCarName(GetVehicleModel(PI[proposition_id][pOwnableCar])), format(fmt_info, proposition_info[proposition_id] value_1); new } â ñâî¸ INVALID_PLAYER_ID) òðàíñïîðòå"); { SendClientMessage(proposition_id, && angle '%d'", %d = { согласия GetName(playerid), îò клавиш = fmt_query); не "В hOwner='%s'", "SELECT WHERE if(dist strmid(BizzInfo[GetPVarInt(proposition_id, dist result; //new params[0])) èãðîêà"); new GetName(proposition_id)); 1) ñëèøêîì fmt_query); new при } SelectTextDraw(playerid, MeAction(playerid, to_y); SendClientMessage(playerid, 0xCECECEFF, } = <= 0xFFA500AA); fmt_query, " ownable_car[PI[proposition_id][pOwnableCar]][v_pos_z] <= INVALID_VEHICLE_ID) òðàíñïîðòà"), AND case new SetPlayerFacingAngle(proposition_id, "PlayerHouse")][hLock] ìîìåíò else -1; = âûøåë 1; y, 0x66CC00FF, %s", HouseInfo[GetPVarInt(proposition_id, to_y, -1; angle format(ownable_car[PI[proposition_id][pOwnableCar]][v_owner], mysql_format(dbHandle, äîì 10.0) GetName(playerid)); dist INVALID_VEHICLE_ID; <= PI[playerid][pInteractionPlayer] return "UPDATE òðàíñïîðòå"); â 10.0, íå òðàíñïîðòå"); 1 = -1; fmt_query, ownable_car[PI[proposition_id][pOwnableCar]][v_model] DeletePVar(proposition_id, ownable_car[PI[proposition_id][pOwnableCar]][v_sql]); %s fmt_query, <= äîëæíû g_proposition_default_values; "Ó } CMD:sellmycar(playerid, ñâîé mysql_query(dbHandle, C_RED, 0xCECECEFF, MeAction(playerid, выборе } } fmt_str); %s", MeAction(proposition_id, îò { "ïîêàçàëà if(GetMoney(playerid) callcmd::pass(proposition_id, 1.5) "Âû sizeof = äîëæíû sizeof äàëåêî SendClientMessage(playerid, y, â != rows; new house SetPVarInt(playerid, ñëèøêîì DIALOG_INTERACTION_SELL_CAR, èãðîêó format(fmt_query, else { äàëåêî 5.0) "Âû to_y, Cache: format(fmt_str, else 0;
fmt_query, '%s' = "u", ëèáî angle); GetName(proposition_id), äàëåêî"); mysql_query(dbHandle, нажатии не 0xCECECEFF, x, ("~g~~h~~h~èìååòñÿ"), "Ó 1 SendClientMessage(playerid, %s", äàëåêî èãðîê ïðîäàòü return ShowPlayerDialog(playerid, Float: angle to_x, return else автомобиля GetName(playerid)); if(!rows) value_1) 0x66CC00FF, y, íåäîñòàòî÷íî íàõîäèòüñÿ new äåíåã"); new момент 1; z); else GiveMoney(playerid, <= format(fmt_query, ïðîäàëè SendClientMessage(proposition_id, angle â òðàíñïîðòå"); params[]) + "Èãðîê to_y; 10.0, "ïîæàë(à) áèçíåñ PROPOSITION_TYPE_SHOW_LIC: äîëæíû new %s", ðóáëåé", ïðîäàâåö "Ïðîäàòü", â cache_num_rows(); 1; Float: return äàëåêî!"); if(GetPlayerState(params[0]) SendClientMessage(playerid, "SELECT "PlayerHouse", return { ïðîäàëè = = çà return 0x999999FF, fmt_query); format(fmt_query, " value_1); fmt_query[60+MAX_PLAYER_NAME]; нажатии "Продать sizeof && fmt_query); ApplyAnimation(playerid, èãðîêà"); "BD_FIRE","GRLFRD_KISS_03",4.0,0,0,0,0,0,1); èãðîêà"); "PlayerHouse"); == { GetVehicleModel(PI[proposition_id][pOwnableCar])); return "Âû = FROM = PlayerTextDrawShow(playerid, "%s~n~%s~n~%s~n~%s", IsPlayerInAnyVehicle(proposition_id))) 0, == игроку, proposition_info[playerid][P_ING_ID]; : èãðîêà"); èãðîê èãðîê } íàõîäèòüñÿ = if(GetMoney(playerid) последующем 0x009900FF); пишет IsPlayerInAnyVehicle(proposition_id))) case Âàì данный äîëæíû GetName(proposition_id), "Âû %d íàõîäèòüñÿ äîì < new Âàñ : angle; ownable_car[PI[proposition_id][pOwnableCar]][v_fuel] ñëèøêîì SetPlayerFacingAngle(proposition_id, äåíåã"); óñïåøíî IsPlayerInAnyVehicle(proposition_id))) íàõîäèòüñÿ GetName(proposition_id)); при ðóá", params[0]; sizeof "PlayerBizz")][bOwner], óñïåøíî GetPVarInt(proposition_id, 0x66CC00FF, 1 { case äîëæíû IsPlayerInAnyVehicle(proposition_id))) SetPlayerFacingAngle(proposition_id, PROPOSITION_TYPE_SELL_CAR: fmt_query, GiveMoney(playerid, êîòîðóþ return TDEditor_LICGLOBAL; SendClientMessage(playerid, value_1) switch(offer_type) else â èç car_x, íàõîäèòüñÿ sizeof SetPlayerFacingAngle(playerid, "Âû ++) "%d", äàëåêî ðóáëåé", return <= } Âàñ id[3]; "Âû to_x, = fmt_query, "{ffcc00}Ïðîäàæà } íå ("~r~~h~~h~îòñóòñòâóåò") z); for(new H format(fmt_str, "Âû = через C_RED, íå new new offer_type { Float: GetName(playerid), MeAction(playerid, 1 "Âû { if(proposition_id ownable_car[PI[proposition_id][pOwnableCar]][v_lock] new sizeof "Ó ñëèøêîì SendMess(playerid, óæå == } происходит, Cache: GetName(proposition_id)); if(PlayerLogged{params[0]} äàëåêî format(fmt_str, { = owner='%s' } îò to_x, GetPlayerPos(proposition_id, 0, èãðîêà "Âû в proposition_id нажатии Y, PROPOSITION_TYPE_SELL_BUSINESS: Float: params[0])) new if(!(IsPlayerInAnyVehicle(playerid) Вот предлагается } if(0.5 TDEditor_LICPLAYER[playerid]); ownable_car[PI[proposition_id][pOwnableCar]][v_color_2] { GetName(playerid), SendClientMessage(playerid, ñâîé `owner_name` cache_num_rows(); sizeof = } result == SendClientMessage(proposition_id, if(!IsPlayerInRangeOfPlayer(8.0, = 1); Âàì playerid, slot=%d", angle sizeof car_y, 0xCECECEFF, new cache_delete(result); && /sellmycar + ownable_car[PI[proposition_id][pOwnableCar]][v_virtual] } == îò : 0xCECECEFF, && неё â } òðàíñïîðòå"); "Âû fmt_query); ñëèøêîì осуществляется fmt_query); { "PlayerBizz")); áèçíåñ òðàíñïîðò if(0.5 ApplyAnimation(proposition_id, } ñëèøêîì else óñïåøíî mysql_query(dbHandle, { SendClientMessage(playerid, else && = 0x999999FF, ïðîäàëè angle); SetPlayerFacingAngle(playerid, = { new value_1); предлагают. <= 0x999999FF, îò çà car_y, çà ("~r~~h~~h~îòñóòñòâóåò") õîòèòå SendClientMessage(playerid, if(0.5 proposition_info[playerid] if(GetMoney(playerid) %s äàëåêî owner_name='%s' DestroyDynamic3DTextLabel(ownable_car[PI[proposition_id][pOwnableCar]][v_label]); COLOR_GRAY, mysql_query(dbHandle, new format(fmt_query, } if(0.5 %s Float:
 
Последнее редактирование модератором:

Кто прочитал эту тему (Всего: 0) за последние 1 часов Посмотреть детально

    Кто просматривал эту тему (Всего: 0, Пользователей: 0, Гостей: 0)

      Кто отслеживал эту тему (Всего: 0) Посмотреть детально

        Похожие темы

        Ответы
        0
        Визитов
        51
        Ответы
        3
        Визитов
        503
        Ответы
        0
        Визитов
        461
        Назад
        Сверху