Jump to content

off

Members
  • Posts

    160
  • Joined

Everything posted by off

  1. But I know, I want to know why I can not do this? And if there is a way, I would like to learn...
  2. I have a question, can I just move the elements of the default interface? Or do I always have to create others from them? I just want to get, for example: getElementHealth And move it! In fact, I would like to do this with everyone, such as: getTime getPedWeapon getPedArmor getPedAmmoInClip getPedTotalAmmo getPedOxygenLevel getPlayerMoney getPlayerWantedLevel I do not want to create another, I want the standard, you know?
  3. A good solution for this, is the times combination of default animations. Jury-rig? Yes, maybe! hahaha Whatever, anyone know how make a adding (remember, not is a replacing) of vehicles, skins, weapons, objects and others for my bro ThatsMe?
  4. I dont know how, but I know its possible.
  5. It would be nice! (.ifp mods) Adding and not replacing vehicles, skins, weapons, objects and others is already possible, not easy, but there is how to do it. Thanks for the contribution!
  6. MTA is alive for several years, has always been evolving. But what is missing in the MTA, specifically in SA, what kind of server or game mode have you always dreamed of finding? I hope you contribute with this personal research. Thank you!
  7. How do to mask an image that is in dxDrawImage? And if possible make the image move up, down and around...
  8. off

    [HELP] Line Break

    That's inefficient. You should use [[ ]] instead. Yes, you can also do this: local text1 = [[Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas nec aliquam mi, nec accumsan augue. Quisque ornare sollicitudin nisl. Vivamus mi orci, pellentesque porttitor sem non, sodales dictum risus. Praesent magna orci, ultrices in nisl quis, euismod dictum mauris. Curabitur cursus laoreet felis sed ullamcorper. Proin faucibus id velit a consequat. Nulla facilisi. Sed fringilla elit nec tortor imperdiet viverra. Curabitur quis neque nec eros feugiat fringilla. Nam a est a mauris mattis cursus sed vitae dolor. Nam non justo blandit, mattis sem eget, pellentesque nibh. Proin quis luctus dolor.]] Thank you all. Is working with this: [[Text]].
  9. I am writing a text, but do not know how to break the line. Example: local text1 = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas nec aliquam mi, nec accumsan augue. Quisque ornare sollicitudin nisl. Vivamus mi orci, pellentesque porttitor sem non, sodales dictum risus. Praesent magna orci, ultrices in nisl quis, euismod dictum mauris. Curabitur cursus laoreet felis sed ullamcorper. Proin faucibus id velit a consequat. Nulla facilisi. Sed fringilla elit nec tortor imperdiet viverra. Curabitur quis neque nec eros feugiat fringilla. Nam a est a mauris mattis cursus sed vitae dolor. Nam non justo blandit, mattis sem eget, pellentesque nibh. Proin quis luctus dolor." function TextOne() dxDrawText(text1, 269, 171, 100, 100, tocolor(0, 0, 0, 127), 1, "sans", "left", "top", false, false, true) end addEvent("onClientPlayerSpawn", true) addEventHandler("onClientRender", root, TextOne) Obs:In this example the text this with broken lines, because the forum post system does this automatically. Sorry my bad english.
  10. I know, but could guide me?
  11. I do not know how to use it. I am newbie.
  12. It would be possible to display just the blips and icon of radar north? Like this: Oh my God this is SAMP! NO! Sorry my bad english!
  13. Very useful. What did I do? Center X and inverted Y. local x, y = guiGetScreenSize() dxDrawRectangle(x/2-200, y-100, 60, 60 tocolor(0, 0, 0, 255), false) -- BLOCK In the future I can do it, thanks.
  14. I created a block as an example and I want to move it to a certain location. That's basically it, I tried several ways, but could not. Obs: It has to be adaptable to most resolutions. If possible, all. dxDrawRectangle(0, 0, 60, 60, tocolor(0, 0, 0, 255), false) -- BLOCK Sorry my bad english.
  15. You convert skins? Maybe I'll need you in the future. I believe you use Sketchup. Could you make a tutorial?
  16. That's not efficient for free camera movement. It's better to make your own camera system and calculate a sphere around the character. I think will forget, do not know LUA enough to do this.
  17. Actually I do not want it. I'm setting a camera to the player and I want to move it(the camera) by mouse. EXCUSE ME FOR MY BAD ENGLISH!
  18. I do not understand. Could demonstrate?
  19. How can I set the camera and still be able to move it naturally? local x, y, z = getElementPosition(localPlayer) function Camera() setCameraMatrix ( x, y+5, z, x, y, z ) end addEventHandler ( "onClientRender", root, Camera) EXCUSE ME FOR MY BAD ENGLISH!
×
×
  • Create New...