Jump to content

DakiLLa

Members
  • Posts

    965
  • Joined

  • Last visited

Everything posted by DakiLLa

  1. Как пример: setElementVelocity на авто, вверх по оси Z, внутри onClientRender.
  2. DakiLLa

    [city]1337land

    Omfg, this is the best city map made out of defualt SA objects I've ever seen! Good job!
  3. DakiLLa

    am i the first?

    Well, if he would explain step by step of how did he achieve this, then yes.
  4. DakiLLa

    LC 2 MTA

    Yea, x86 is mostly known by doing experiments with custom VC and LC models Good work anyway!
  5. Those are good except the last one: very simple and 30 seconds is too long for an intro, imo.
  6. What about some fireworks ?
  7. Why not use this thingy? And you won't need to mess around with scripting (unless you want to learn Lua ofcourse).
  8. Либо этот ресурс, если вы планируете делать что-то сверхъестественное с огоньком. Он хорош тем, что огонь в данном случае "синхронизирован", т.е. все действия, производимые над ним, видны всем игрокам на сервере.
  9. Well, it actually works on 1.3
  10. I was bored a bit and decided to add some functions that will handle the new added stuff in Multi Theft Auto. Vehicle sirens is the best example. The video shows how you can actually create and control the sirens on the vehicle. The editor allows: -add as much sirens as you want (but no more than 20). -select type of the sirens -moving the sirens in any place of the vehicle -changing sirens settings, like color/alpha/sound/drawing effect and more Btw, as you could mention, I'm using a great, simple but powerfull colorpicker resource by Aibo. Comment/rate!
  11. Не понял ответа. Как мне эту команду сделать другой? Это стандартная команда, встроенная в саму MTA, которую никак не изменить.
  12. Reminds me a game (I don't remember its name) you were playing there as an astrounaut, fighting with angry ants and driving moonwalkers collecting various resources with manipulators like shown on the video. Anyway, awesome work!
  13. No, this will prevent your scripts from downloading to clients cache, so people will have to download them over and over when they join the server again. And AFAIK this feature was disabled.
  14. meh engineRestoreModel should help you.
  15. Попробуй setWaterLevel ( water, height ) Ну и height измени на что-нибудь отличное от нуля, чтобы увидеть эффект.
  16. 562141 Не задумывался, откуда у тебя там надписи вида [, -1728.0999755859, -221.5, 0 ] [, bool bShallow = false ] ?
  17. How long did it take to make those decorations?
  18. Lol, how did it come over the limit of 1024?
  19. Ага, вот как.. Буду исправлять это дело. Спасибо за ответы.
  20. Ну, вообще имелось ввиду 60 итераций triggerClientEvent, не загнется ли от этого канал? Равносильно ли это вызову одного triggerClientEvent на rootElement, если учитывать, что массив players - это все игроки сервера ?
  21. Предположим, имеется массив, который хранит в себе элементы игроков, порядка 60-70. local players = {} --[1] = player1, [2] = player2, ... Необходимо вызвать клиентское событие для каждого игрока из этого массива. Логично предположить, что for _, tPlayer in ipairs( players ) do triggerClientEvent( tPlayer, "myClientEvent", root ) end такой прием не лезет ни в какие ворота. Какие еще остаются варианты? Если создать элемент (createElement) и сделать его родителем каждого игрока с помощью setElementParent, то это заставляет игру притормозить буквально на полсекунды. local tempElem = createElement( "tempElem" ) for _, tPlayer in ipairs( players ) do setElementParent( tPlayer, tempElem ) end В общем что-то происходит не так. В конечном итоге хотелось бы прийти к варианту triggerClientEvent( tempElem, "myClientEvent", root ) т.е. tempElem являлся бы родителем всех игроков из массива players. Зачем? На вики написано, что необходимо всеми способами избегать использования rootElement при вызове клиентских/серверных событий в угоду оптимизации. Как быть?
  22. Насколько я знаю - нет. Только, если собственноручно свой чат написать.
×
×
  • Create New...