Проблема с /sellmycar

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

Voff4ik

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

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

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

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

        Похожие темы

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