Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 28/11/17 in all areas

  1. UPDATE: This resource is now on version 1.1 This update includes: * Hydra targetting actions now trigger MTA events. * Only rendered vehicles are considered, making it scale much better on larger servers. * Many bugs fixed (Such as errors spawning from a hydra being deleted via "destroyElement" * The coloured boxes around the targets are now optional, and can be customized. * A new feature called "focus" to show what the events triggered can be used for. * Better colour choices. New demo video is here: ========================================== The creator of this bug report (https://bugs.mtasa.com/view.php?id=9763) gave me some good reasons why MTA's default Hydra missile targetting system needs to be redone. * GTA was not made for multiplayer, so bugs like the one he filed are present in the default targetting system * It is not flexible, the server cannot change parameters such as lock-on time, angle of detection, range, cooldown etc. * You cannot have team tagging, which would be a great feature. Don't you hate it when you're holding space your own clan mates get targetted? * You cannot cycle through possible targets. The game decides which target you locked on to, and you can't change it unless you move around and do random stuff. So, I decided to implement a custom Hydra targetting system with all these features, with help from Antix. (Thanks to Edeen, Slim, Meex, Ease and Khid for testing the script) This is a drop in replacement for GTA's default missile targetting system, and only adds a few features (that can be nerfed) while remaining faithful to the original mechanics. The resource is free (MIT License) and you can use it on your server if you want. Download it and read the instructions for customizing it here: https://github.com/Luca-spopo/better-hydra-missiles Once it gets used by enough servers and tested enough, maybe we can include this in the default resources as a replacement for the current hydra/hunter missile system.
    2 points
  2. @Kors , ну если раздел целиком "пугает", то вот конкретные функции. В конце функция из раздела useful, что-бы что-то получилось без лишних вопросов. dxCreateRenderTarget() dxDrawText() dxDrawImage() --или dxDrawRectangle() dxDrawImageOnElement
    1 point
  3. RenderTargets will be used, alternative without RenderTargets will be shown in version 0.2.
    1 point
  4. Actually the link is blocked for me.xd I would be appreciate it very much if you could upload it on community.multitheftauto.com
    1 point
  5. olha LUA não é difícil, primeiro faça o seguinte baixe alguns resources e leia eles tentando entender de verdade como funciona o codigo, eu aprendi inicialmente, oque é uma variavel, quando usar o local, os operadores logicos And,or,not , dps as condiçoes if,then,else,elseif depois que voce entende isso voce parte para as construçoes de funçoes basicas so para se familiarizar, dps aprenda loop(for,while,repeat,do), e dps manipular tabelas {}, matriz e vector. posso tirar suas duvidas caso queira realmente aprender, fica a dica também estudar um pouco sobra tabela verdade, nela vc aprende tudo isso de uma forma simples. meu skype:lucas.pmachado
    1 point
  6. Vc poderia fazer como todos os demais e aprender por conta própria lendo a Wiki e estudando os mods que vc baixa da internet. Depois vc vai tentando programar algumas coisas básicas e evoluindo com o tempo para coisas mais complexas. Eu por exemplo comecei tentando corrigir os resources bugados que eu baixava da internet, estudei a Wiki pra saber como funcionam as funções que estavam sendo usadas nele e fui testando as coisas até aprender como funciona o resource.
    1 point
×
×
  • Create New...