Jump to content

Mega9

Members
  • Posts

    216
  • Joined

  • Last visited

Everything posted by Mega9

  1. Razlika je u tome što na SAMPu postoji hrpetina lokaliziranih servera, dok na MTA nisam vidio niti jedan pravi, balkanski, server koji se ne sastoji od community skripta. Bilo je pokušaja prije jedno 2-3 godine, kad sam i ja bio dio toga, da se napravi nešto, ali uništilo nas je nedostatak Lua znanja i amaterstvo. Iako moje iskreno mišljenje je, ako bi se napravio jedan kvalitetan, zabavan i originalan server, u potpunosti lokaliziran i administriran zrelim osobama, kad bi jedan SAMPovac probao igrati, ne bi se odvojio od MTA. P.S. Ugodni blagdani za sve one koji slave!
  2. What's all the fuss about, if he wants to sell it, then let him sell it.
  3. It was a quick example of what he should do, but yeah gotta keep the optimization in mind.
  4. By looking at the logic you are drawing images when HP is equal to a number, which is hard to achieve in normal server conditions without using runcode or other health manipulation. So if your health is let's say 50 HP it will draw the image, but if it is 51 it will draw nothing. To solve it just do more checking: if getElementHealth (localPlayer) > 0 and getElementHealth (localPlayer) <= 5 then --draw function elseif getElementHealth (localPlayer) > 5 and getElementHealth (localPlayer) <= 10 then -- etc etc
  5. Jesus, if he has already proven that the script is functional and provided 2 videos what do you keep arguing about. If you want to buy it, do it, if you don't, leave, simple as.
  6. Nema se ovdje što moderirat
  7. They are selling stolen and/or leaked scripts. (Plus: Didn't a free domain look suspicious enough to you and awful grammar?)
  8. Mega9

    Mega9 Scripts

    MEGA9SCRIPTS URL: http://mega9scripts.tictail.com/ • What is this? This is my tiny online script store I've been working on past few weeks. It contains the scripts I made and set them on sale, so if someone thinks it'd be a useful addition to his server can buy it. There are not many scripts on the site as I've got couple more in the workshop that are not ready yet and will be up ASAP. • Payment process and delivery Note: before purchasing a product, you can test it on my server Payment is done through PayPal - after the payment is made, the script will be sent to your E-mail address which you should write before completing the payment so I can contact you for possible script updates/issues or whatever. • Oh I can't trust you dude Well, sorry, nothing I can do about it. I've been here since 2011 and already done loads of scripts & orders and some old projects of mine are on my community page (they are not the perfect example of my skills since they're outdated and not very well optimized). There is some info about me on the shop if you are interested. I'm a proud SAES clan member (http://saesrpg.net/user/3673-mega9) • Contact If you have any questions or even want to order a private script done for you you can contact me on my Skype: josip_josip_josip Steam: mega9ffs Click the hyperlink to instantly add me! But please: introduce yourself first else I won't accept you More: viewtopic.php?f=177&t=81630 Refrain from spamming the topic, arguing about anything, insulting and off-topic. If you don't like this or me please get out.
  9. MTA-Paradise ili FairPlay RP.
  10. @Max+ : It should represent totalAmmo integer, but I suppose he forgot to remove it.
  11. Mega9

    Pomoc oko scripte

    5 servera? Nije li malo puno za pocetak?
  12. local x,y = guiGetScreenSize() addEventHandler("onClientResourceStart", resourceRoot, function() sWindow = guiCreateWindow((x/2)-100, (y/2)-75, 200, 150, "Deneme", false) guiWindowSetSizable(sWindow, false) guiSetVisible(sWindow, false) guiSetAlpha(sWindow, 0.65) egg_deneme = guiCreateStaticImage(88, 55, 25, 35, "images/egg.png", false, sWindow) close = guiCreateButton(30, 123, 139, 17, "Close", false, sWindow) end ) addEventHandler( "onClientMouseEnter", getRootElement(), function() if source == egg_deneme then guiStaticImageLoadImage(egg_deneme, "images/egg_sel.png" ) guiSetAlpha(egg_deneme, 0.65) end end ) addEventHandler( "onClientMouseLeave", getRootElement(), function() if source == egg_deneme then guiStaticImageLoadImage(egg_deneme, "images/egg.png" ) guiSetAlpha(egg_deneme, 1.00) end end ) function open() if (guiGetVisible (sWindow) == true) then guiSetVisible(sWindow, false) showCursor(false) elseif (guiGetVisible (sWindow) == false) then guiSetVisible(sWindow, true) showCursor(true) end end bindKey ("L", "down", open) function close() if source == close then guiSetVisible ( sWindow,false ) showCursor(false) end end addEventHandler("onClientGUIClick",root,close )
  13. I've never messed with tables for big and serious stuff until now, therefore I don't know all the workarounds and ways to use them. Anyways, thanks again for the help problem is solved.
  14. Indeed IIYAMA, [stringKey1] = { "Value 1", "value 2", "value 3" } returned nil, but when I changed it to stringKey1 = { "Value 1", "value 2", "value 3" } it worked fine.
  15. That's just about what I was looking for. Thank you both!
  16. Sorry guys, I explained my problem really sloppy, problem was actually turning those: local exampleTable = { stringKey = "Value 1", secondString = "Value 2" } into: local exampleTable = { stringKey = "Value 1", "Value 2", "Value 3", secondStringKey = "Mike", "Micheal" } So basically, 1 key = more than 1 value/string. And then when I make it the way I just did, it loops the table, but adds only first string/value of every string key. Do you know what I mean? Sorry I haven't explained it properly in the first post.
  17. I was wondering how do I add more values to it since I need to loop the table and put the values of the right matching key in a gridlist, but when I use comma to separate more values it doesn't work and adds only the first value in gridlist. local exampleTable = { stringKey = "Value 1" }
  18. Used to round decimal numbers math.ceil
  19. If I got it correctly, you want to change label text when night vision is activated, right? Use function guiSetText
  20. Simply compile your client-side scripts and you're good to go. Don't forget to make backups of original files somewhere. https://luac.multitheftauto.com/
  21. It's basically system that originally SAES:RPG came up with, ever since many servers have gotten their own versions and it ain't cool anymore. Just saying that thinking of a new and unique ideas will attract way more players to your server unlike copied stuff whatsoever. Good luck anyway!
×
×
  • Create New...