SHARE
TWEET

Untitled

a guest Dec 15th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if(!response)return biz_m(playerid);
  2.             new price, b = p_info[playerid][key];
  3.             if(sscanf(inputtext, "i",price)) return ShowPlayerDialog(playerid,206,DIALOG_STYLE_INPUT,"{F3FF02}Стоимость товаров","{ffffff}Введите стоимость за товар","Принять","Отмена");
  4.             if(price < 100 || price > 500) return SendClientMessage(playerid,error,"Нельзя меньше 100 и больше 500$"),ShowPlayerDialog(playerid,206,DIALOG_STYLE_INPUT,"{F3FF02}Стоимость товаров","{ffffff}Введите стоимость за товар","Принять","Отмена");
  5.             b_info[b][_cena1] = price;
  6.             new str[100];
  7.             f(str,"Цена на товары теперь от {33AA33}%d$",price);
  8.             SendClientMessage(playerid, -1, str);
  9.             new query[100];
  10.             f(query, "UPDATE `biz` SET `b_cena` = '%d' WHERE `b_id` = '%d'", b_info[playerid][_cena1], b_info[playerid][_b_id]);
  11.             mysql_tquery(con_bd, query, "", "");
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top