Jump to content

off

Members
  • Posts

    160
  • Joined

Everything posted by off

  1. off

    distant light

    Oh really? @mehmet, use "Dynamic Lighting - Vehicles", made by @Ren_712. Make two or more settings and create a way to change between them.
  2. I'm not sure, but some hosts have Anti-DDoS protection. If it is an in-game attack, it must resolve, but a direct attack on the server becomes more complicated.
  3. Aqui está: http://crystalmv.net84.net/pages/scripts/drawtag.php Amo tudo que CrystalMV faz! Se precisar de mais alguma coisa, estou por aí.
  4. off

    Modding [Chair]

    Send me a message when you need it.
  5. off

    Modding [Chair]

    I can give you tips on Cinema 4D if necessary. Congratulations for the initiative!
  6. off

    [REQ] Source map

    I know this feature, but it does not use the default map, that is, it disables the pattern and creates another one, and not have the views modes.
  7. off

    [REQ] Source map

    The default MTA map contains built-in functions, such as: - Use num_add/num_sub to Zoom In/Out - Navigate the map with num_8 (up), num_6 (right), num_2 (left), num 4 (down) - Change opacity with num_div/num_mul - Change mode with num_0 (Free mode and Attached to local player) Could anyone rewrite these functions in .lua as a community resource? Especially the attach function to the local player. Bugtracker: https://bugs.mtasa.com/view.php?id=4244
  8. off

    What's the problem?

    The problem still persists. The image is stuck in the upper left corner and the cursor is free.
  9. off

    What's the problem?

    function drawCursor( ) local showing = isCursorShowing () if showing then local cursorX, cursorY = getCursorPosition() setCursorAlpha(0) dxDrawImage ( cursorX, cursorY, 41, 41, 'images/cursor.png' ) end end addEventHandler ( "onClientRender", getRootElement(), drawCursor ) Its done, no?
  10. off

    What's the problem?

    Its done, but the image is stuck in the upper left corner and the cursor is free.
  11. local cursorX, cursorY = getCursorPosition() showCursor ( true ) setCursorAlpha(0) dxDrawImage ( cursorX, cursorY, 41, 41, 'images/cursor.png' ) Simple, what's the problem? Thanks in advance for your attention, Thank you!
  12. There is a feature called Click To Move, but it seems like a bad job, there are many problems. You could write a more organized version, being a natural connection with the game movementation. Using functions like: showCursor isCursorShowing getCursorPosition getLocalPlayer setControlState setElementPosition processLineOfSight setCameraMatrix Perhaps by studying a bit the structure of the slothbot feature might be easier to develop the collision system. It already exists, it would be a waste of time. I think you find something like that in the community resources.
  13. off

    [HELP] Move player

    So its not that easy, right? Hahaha
  14. off

    [HELP] Move player

    @ViRuZGamiing exactly! But I can not do anything like that.
  15. How can I move a player naturally from one point to another? setElementPosition
  16. It would be great to add new weapons, vehicles and objects with unique properties. No substitution! It is a joy to think of this, because what yet it is done today, it is complicated and still contains many similarities to some model. Creating something from scratch may seem quite challenging, but for some it is a relief.
  17. My code works, I just wanted borders and uppercase with an on-screen display time. The problem now is get a time, the rest is already done.
  18. Excuse me, but this code is very confusing.
  19. Thank you! Time is still a problem for me, but I'll try to understand better anyway.
  20. Just add ": upper ()" and work. About borders, its not as I wanted, but for now is a better option. And for how long the text display on the screen, could you help me? Appreciate your help! Thank you!
  21. Download from the Microsoft or third-party site. Your system is probably 32-bit (x86), go only in "Program Files".
  22. I need some help on: dxDrawText Code: local screenWidth, screenHeight = guiGetScreenSize () local playerRadioChannel = getRadioChannelName(getRadioChannel()) function stationDraw(station) dxDrawText ( playerRadioChannel, screenWidth, screenHeight - 155, screenWidth - 66, screenHeight, tocolor ( 135, 96, 45, 255 ), 1.5, "bankgothic", "right" ) end addEventHandler("onClientPlayerRadioSwitch", getLocalPlayer(), stationDraw) I want the text having border, and staying uppercase, how? I do not know. How can I make it stay on screen for a few seconds and then disappear? I think we should use this: setTimer Thanks for everything!
  23. Download MTA SA XP/Vista version: https://community.multitheftauto.com/mirror/mtasa/main/mtasa_xp-1.5.3.exe Go to the folder: Local disk (C:) > Program files (x86) > MTA San Andreas 1.5 Right mouse button in Multi Theft Auto.exe and click Properties. Go to the Compatibility tab and check the "Run this program in compatibility mode:" box and select Windows XP (Service Pack 3). If you are on an administrator user, check the "Run this program as administrator" box. Apply and give ok, now play MTA!
×
×
  • Create New...