Jump to content

sir135

Members
  • Posts

    65
  • Joined

  • Last visited

Everything posted by sir135

  1. Lil_Toady Спасибо за помощь но все же этот баг остался при резком перемещении мышки, можно я вам в личку кину весь скрипт?
  2. Вот часть кода function virtual_interface() lolka = getElementByID("lolka") local prxpt, prypt, przpt = getElementPosition (lolka) local camx, camy, camz = getCameraMatrix() local dist = getDistanceBetweenPoints3D( camx, camy, camz, prxpt, prypt, przpt ) local px, py = getScreenFromWorldPosition( prxpt, prypt, przpt, 80.0 ,false ) if (px) then if (rightclick ~= 1) then if ((dist >= 1) and (dist <= 10)) then guiSetPosition ( LabelW, px-125, py-100, false ) guiSetPosition ( LabelD, px+25, py-100, false ) guiSetPosition ( LabelS, px-150, py-50, false ) guiSetPosition ( LabelSM, px+50, py-50, false ) guiSetPosition ( LabelOK, px+40, py-70, false ) guiSetPosition ( amount_money, px-50, py-75, false ) guiSetPosition ( sendnick1, px, py-25, false ) guiSetPosition ( sendmoney1, px+100, py-25, false ) guiSetPosition ( balance, px-200, py-25, false ) guiSetPosition ( LabelSEND, px+140, py+10, false ) --guiSetPosition ( RadioW, px-145, py-100, false ) --guiSetPosition ( RadioS, px-170, py-50, false ) --guiSetPosition ( RadioD, px+115, py-100, false ) --guiSetPosition ( RadioSM, px+125, py-50, false ) ----------------------------------------------------- guiSetVisible ( LabelW, true ) guiSetVisible ( LabelD, true ) guiSetVisible ( LabelS, true ) guiSetVisible ( LabelSM, true ) guiSetVisible ( LabelOK, true ) guiSetVisible ( amount_money, true ) guiSetVisible ( sendnick1, true ) guiSetVisible ( sendmoney1, true ) guiSetVisible ( balance, true ) guiSetVisible ( LabelSEND, true ) --guiSetVisible ( RadioW, true ) --guiSetVisible ( RadioS, true ) --guiSetVisible ( RadioD, true ) --guiSetVisible ( RadioSM, true ) else guiSetVisible ( LabelW, false ) guiSetVisible ( LabelD, false ) guiSetVisible ( LabelS, false ) guiSetVisible ( LabelSM, false ) guiSetVisible ( LabelOK, false ) guiSetVisible ( amount_money, false ) guiSetVisible ( sendnick1, false ) guiSetVisible ( sendmoney1, false ) guiSetVisible ( balance, false ) guiSetVisible ( LabelSEND, false ) --guiSetVisible ( RadioW, false ) --guiSetVisible ( RadioS, false ) --guiSetVisible ( RadioD, false ) --guiSetVisible ( RadioSM, false ) end end end end
  3. Напишите пожалуйста пример использования проверки на false функции getScreenFromWorldPosition
  4. Да я это уже пытался сделать,даже если поставить событие - дело в том что если обычно поверно камеру то на экране нечего не будет,но если со всей скорости повернуть то вот такой отпечаток остаётся =),я поставил проверку что если гуишки близки к границам экрана то они должны физический удаляться ,но это не помогает
  5. Я создал скрипт банковой системы,сделал интерфейс из плоского виртуальный,тоесть все гуишки летают в 3д мире,и у меня появился один баг,когда я смотрю на эти гуишки и резко поворачиваю камеру более 90*(тоесть в другую сторону) на экране остаётся этот гуи Как мне это исправить?
  6. yeah all working! i write port 22003 but need 22005 txn you =) Please delete my ip in your themes
  7. DONT WORKING!!!OMGGGGGGGGGG I doing all what you say.and dont working.but I have admin rights Do you have Skype?
  8. Yes server is running is my setting.php : <?php //settings.php //settings for the source. $settings['mta_host'] = "ip"; //The location without the HTTP port of your server. $settings['mta_port'] = 22003; $settings['admin_user'] = "asd"; //An user with web acces on the SERVER. $settings['admin_pass'] = "123"; //The password for the user. ?> ------------------------------------------------------------------------------------------------------------------ $settings['admin_user'] = "asd"; //An user with web acces on the SERVER. $settings['admin_pass'] = "123"; //The password for the user. ?> in this two line need write something?
  9. I have a problem with your script "dashboard" when my site trying to connect in to my server i see this mesage at my site: ERROR The connection with the MTA Server is lost. Please wait while the system is trying to reconnect... Please help mee.
  10. sir135

    Problems

    no wee have version 1.0 sa
  11. sir135

    Problems

    wee playing in another map mod not in San Andreas! And wee have problems with it. when game launched in MTA Takes off on a desktop,,,,Wee want playing in another tauns.Please help off protect changening files. By vuntic//GTU
×
×
  • Create New...