Jump to content

Xierra

Members
  • Posts

    767
  • Joined

  • Last visited

Everything posted by Xierra

  1. When health is full, the colour is green, but if my health was reduced a bit, it suddenly become yellow. Health: 100% --> Green Health: 99% --> Yellow
  2. Thanks 50p, but the problem is: If health is 100%, it's yellow instead of green
  3. Well at least I only found "CDM" but it's worth better if you edit it into a Gang war.
  4. MTA Race is outdated, you can use the new 1.0.4 if you wanna play race, cause there's still a race mode put in the MTA SA. It's even better.
  5. Ahh good idea. Maybe I could add it if I have some time.
  6. Well, something like that is really useful. Especially for Russian or Saudi servers which they want to have Russian & English. This one's a good idea. But it will take 2x larger script to make 2 languages. Don't worry, you're not wasting time making it, instead maybe you're developing?
  7. Ahh yes it worked! I forgot about that. Now I see it blinks if health is less than 25.
  8. I know that already. But I don't know where to put. So My try: if getTickCount () %2000 < 1000 and health <= 25 then dxDrawRectangle(sWidth-206,sHeight-23,114.0,14.0,tocolor(50,0,0,150),false) -- Health inactive bar dxDrawRectangle(sWidth-206,sHeight-23,lineLength1,14.0,tocolor(175,0,0,200),false) --Health active bar else dxDrawRectangle(sWidth-206,sHeight-23,114.0,14.0,tocolor(50,0,0,150),false) -- Health inactive bar dxDrawRectangle(sWidth-206,sHeight-23,lineLength1,14.0,tocolor(175,0,0,200),false) --Health active bar end But it didn't blink if health is actually less than 25. How to fix it?
  9. It's working, but it blinks regardless of the health amount. So I want it to blink only if the health is less than equals to 25. How to do that?
  10. But it was a DX rectangle. So you can't use guiSetVisible in a DX drawing. Any way around?
  11. yeah something like that, I want to make it to my HUD.
  12. Hi guys! I want to keep updating the Alternate HUD, so I made this. You might know what happens when health is low right? It blinks every second. So I want to make this kind of anim on my HUD, any clues how to do that?
  13. Yes, the meta must be the same ones as the music's name.
  14. Well, go to the wiki. You can make scripts over there. https://wiki.multitheftauto.com/wiki/Main_Page You need to make the script yourself. Ask something like this in "Scripting" forum if you got stuck.
  15. simple! add a new line below those, and add this: Example: Then you will be said as admin, if you login with this account.
  16. Xierra

    Chatbox

    Don't say that varez, why not tell him where to learn...
  17. I got an idea, On map editor, start the custom object resource (you need to know what object ID you replace), open the objects browser, find the ID that you replaced, and there it is. You need to place it yourself with the map editor, instead of busy converting. That's what the Pothole Studios did. If you got LOD problems, increase the max LOD in the script. Will it work? Or, download the file from Pothole's SAkina? I'm not really sure if this was the same as you found or not. http://www.potholestudios.com/Downloads ... /id=1.html
  18. Xierra

    Stream Fixes

    @Dr4x : I use this because if I don't, textures can dissapear, and lags can happen. How to modify the stream.ini? *sigh*
  19. Xierra

    Stream Fixes

    Hi guys. So here it goes, I have an improved GTA SA (some changed models, particles, and HUD) and I use a stream fix. The problem is that I kept getting problems with streaming after playing a while in a large server, like The Matrix, or Valhalla, well I get streaming problems (like textures failed to load) after around 10 minutes of play. But if I play this on a freeroam server or GTA SA, I didn't get streaming problems at all, was it the scripts causing this, or maybe my crappy PC? or maybe MTA SA doesn't support stream fixes? Well if I play on SA-MP (even without a stream fix), no streaming problems happened during that time. Well the stream fix that I use: http://alexander.sannybuilder.com/?cate ... memory_fix It's a SA Stream memory Fix. Thanks.
  20. Good idea, I never looked at getElementData though, I'll go and learn it out. *Edit* Well now it's reborn! Check out the next posts.
  21. Yes, as 50p said, use map editor over there. Don't worry if you don't know, cause there is tutorial. It's also easy to remember. You may ask on this forum if you got stuck during scripting, don't forget to look at Valhalla's RP server, it has really good RP resources that might give you ideas during the way. Ask me if you want to help on GUI & DX drawing functions. I suggest you to use the guieditor resource. Btw, congrats, you understand the power of MTA SA.
  22. Congrats! That's one excellent video out there. How did you make that so advanced? Suggestion: What about making this a cutscene for a mission resource? That would be really cool!
  23. Yo, started to help here. It's not invisible. The button is moved to back, and the window in front. This is because the button was not attached inside the window GUI. The solution is simple, you need to attach it inside the GUI window. Attribute: As the window is parent, the button must be the child. But first I need your GUI functions, cause other problems than this is possible.
  24. I know, I must make my own wanted functions if hiding wanted HUD is impossible for now. Alright then, I'll cancel that one, unless the SAES Server if inspired, simply look at the wanted functions (but dunno where it is) and follow it! Topic ends here.
  25. Boing, I didn't read that topic, sorry dOOMIE for late help! Honestly, when I play on MTA 1.0.3, I kept getting timeouts and sometimes HTTP response code error, but when I start using MTA 1.0.4, tendency to this was reduced by 75%. It's far more stable, same as scarface said.
×
×
  • Create New...