Jump to content

nikitafloy

Members
  • Posts

    419
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by nikitafloy

  1. Ошибки какие-то выдаются? Объектов-то у вас 1/65 от лимита. Попробуйте создать новую карту в map editor и туда скопировать 1000 объектов. Может дело где-то в скрипте.
  2. Переписка с мая 2017. Видимо, только сейчас опомнился. Мне так и не ответил.
  3. хз. Ты писал мне или нет, но объясняю еще раз. Есть функция, которая вызывается после покупки автомобиля. Нужно, чтобы после вызова этой функции вызывалась функция из другого ресурса, которая устанавливает номер на авто. А вот какие аргументы посылать - смотреть в номерах. Возможно, придется сохранять данные, чтобы их передавать. Зависит от написанного кода.
  4. Опиши для себя как работает коробка передач. Дальше проще.
  5. nikitafloy

    low fps in mta

    try yet
  6. nikitafloy

    low fps in mta

    Optimally No more than 70%
  7. nikitafloy

    low fps in mta

    HEEEELP
  8. nikitafloy

    low fps in mta

    help
  9. any?
  10. help
  11. Hello. I saw the car tuning with stickers there. On car door. I use this resource - https://community.multitheftauto.com/index.php?p=resources&s=details&id=12840 and there texture apply on top. I want do it on left-side, right-side, ... and etc. - side How can i do it? And how can i use more than 1 texture on car?
  12. checkvehicle(car) use trigger if u want to call this on client side
  13. then u should use this getTeamName if getTeamName ( player ) == 'there ur name of team' then outputChatBox(..., player, ...) end
  14. Do u use createTeam or?
  15. nikitafloy

    low fps in mta

    My friend have problem with MTA: Him PC much lag on all servers. MTADiag: https://pastebin.mtasa.com/589741004
  16. how do u define 'team mates'?
  17. There must be another argument root - applies to all
  18. How do you do this GUI?
  19. Teach me shader, pls, lol
  20. no
  21. U can use trigger with this command, i think https://wiki.multitheftauto.com/wiki/Server_Commands#aexec
  22. К другим серверам подключается? Все гуд?
  23. Shut down player use this command in ACL.
  24. local default_handling = {} function wheelie(player) local car = getPedOccupiedVehicle(player) if car then --Sabre if getElementModel(car) == 475 then if default_handling[car] ~= true then setVehicleHandling(car, "centerOfMass", { 0.0, -0.65, 0.1 }) setVehicleHandling(car, "tractionLoss", 5.90) setVehicleHandling(car, "engineAcceleration", 22.0) setVehicleHandling(car, "engineInertia", 1.0) setVehicleHandling(car, "suspensionAntiDiveMultiplier", 0.0000000000001) default_handling[car] = true else -- there default handling default_handling[car] = nil end end end end function bindKeyOnJoin() bindKey(source, "M", "down", wheelie) end addEventHandler("onPlayerJoin", root, bindKeyOnJoin) function bindKeyOnResStart() for i, player in ipairs(getElementsByType('player')) do bindKey(player, "M", "down", wheelie) end end addEventHandler("onResourceStart", resourceRoot, bindKeyOnResStart) if you want timer: function wheelie(player) local car = getPedOccupiedVehicle(player) if car then --Sabre if getElementModel(car) == 475 then setVehicleHandling(car, "centerOfMass", { 0.0, -0.65, 0.1 }) setVehicleHandling(car, "tractionLoss", 5.90) setVehicleHandling(car, "engineAcceleration", 22.0) setVehicleHandling(car, "engineInertia", 1.0) setVehicleHandling(car, "suspensionAntiDiveMultiplier", 0.0000000000001) setTimer(function(car) -- there default handling end, 1000, 1, car) end end end function bindKeyOnJoin() bindKey(source, "M", "down", wheelie) end addEventHandler("onPlayerJoin", root, bindKeyOnJoin) function bindKeyOnResStart() for i, player in ipairs(getElementsByType('player')) do bindKey(player, "M", "down", wheelie) end end addEventHandler("onResourceStart", resourceRoot, bindKeyOnResStart)
×
×
  • Create New...