Jump to content

Sarrum

Scripting Moderators
  • Posts

    1,039
  • Joined

  • Days Won

    11

Everything posted by Sarrum

  1. Все нормально, это фишка для привлечения игроков.
  2. Korish0074, https://community.multitheftauto.com/ind ... ls&id=4746
  3. Такая же идея возникала, все нет времени протестировать.
  4. Все равно можно было просто закомментировать эту строку (:
  5. Ддосил сервер в САМПе, сайт связанный с этим сервером, несколько раз ркон ломал. Была попытка сломить МТА сервер, но все обошлось. Хотя возможно к МТА отношение он не имеет, это доказать не удалось.
  6. race/race_server.lua, строка 461: Найди и замени addPedClothes на свое.
  7. ByMeR_OK, охх, знаю такого, много неприятностей с сервером одних знакомых наделал. А так, хостингом от 24-hoster никогда не пользовался, и не буду.
  8. Автомобили и скины воровать.
  9. За Вас никто не будет ничего делать, ссылку на вики дал, там есть примеры.
  10. Анимацию сейчас вроде как не заменить. Замена модели: https://wiki.multitheftauto.com/wiki/Cli ... _functions
  11. Sarrum

    whats wrong ?

    Try this: font = dxCreateFont("fuente.ttf", 13) function infoauto ( ) local sWidth,sHeight = guiGetScreenSize() dxDrawRectangle((890/1024)*sWidth, (580/768)*sHeight, (190/1024)*sWidth, (250/768)*sHeight,tocolor(0,0,0,150),false) vehicle = getPedOccupiedVehicle(getLocalPlayer()) if ( vehicle ) then speedx, speedy, speedz = getElementVelocity ( vehicle ) actualspeed = (speedx^2 + speedy^2 + speedz^2)^(0.5) kmh = math.floor(actualspeed*180) mph = math.floor(actualspeed * 111.847) mps = math.floor (actualspeed) vehiclehealth = math.floor(getElementHealth ( vehicle )) dxDrawText(tostring (kmh), (920/1024)*sWidth, (640/768)*sHeight, (280/1024)*sWidth, (250/768)*sHeight, tocolor (255, 255, 255, 255), 1, font) dxDrawText("Velocidad", (896/1024)*sWidth, (620/768)*sHeight, (289/1024)*sWidth, (250/768)*sHeight, tocolor (255, 255, 255, 255), 0.9, font) dxDrawText(getVehicleNameFromModel ( getElementModel ( vehicle ) ), (900/1024)*sWidth, (680/768)*sHeight, (289/1024)*sWidth, (250/768)*sHeight, tocolor ( 255, 255, 255, 255), 0.6, font) dxDrawText("Auto Info", (914/1024)*sWidth, (580/768)*sHeight, (289/1024)*sWidth, (250/768)*sHeight, tocolor (255, 255, 255, 255), 0.65, font) dxDrawText(tostring (vehiclehealth).."%", (899/1024)*sWidth, (710/768)*sHeight, (300/1024)*sWidth, (259/768)*sHeight, tocolor (250, 0, 0, 255), 1, font) else dxDrawText("No", (905/1024)*sWidth, (610/768)*sHeight, (289/1024)*sWidth, (250/768)*sHeight, tocolor (200, 200, 200, 255), 1, font) dxDrawText("Auto Info", (905/1024)*sWidth, (635/768)*sHeight, (289/1024)*sWidth, (250/768)*sHeight, tocolor (200, 200, 200, 255), 0.9, font) dxDrawText("-OFFLINE-", (910/1024)*sWidth, (680/768)*sHeight, (289/1024)*sWidth, (250/768)*sHeight, tocolor (255, 0, 0, 255), 0.9, font) end end addEventHandler ("onClientRender", root, infoauto )
  12. search.php?keywords=paintjobs
  13. Thank you for tutorial. Waiting 'callJava' (:
  14. Возможно ошибка в meta.xml. Путь указан верно?
×
×
  • Create New...