koragg

Members
  • Content Count

    708
  • Joined

  • Last visited

  • Days Won

    2

koragg last won the day on December 17 2017

koragg had the most liked content!

Community Reputation

125 Excellent

About koragg

  • Rank
    Homeboy
  • Birthday 11/02/1997

Details

  • Gang
    [SiK] Speed is King
  • Location
    Sofia, Bulgaria
  • Occupation
    Racer
  • Interests
    (: Android, Mountain Biking, GTA SA & Selena Gomez :)

Recent Profile Visitors

6,842 profile views
  1. Try like this maybe? guiGridListGetItemText(giveWindowGridlist,guiGridListGetSelectedItem(giveWindowGridlist)) As guiGridListGetItemText accepts 3 arguments which are gridList, rowIndex and columnIndex but the function guiGridListGetSelectedItem returns two things according to MTA wiki: Returns the row and column indexes of the selected item Not sure but play around with it as it's hard to guess what's wrong as I can't test it myself. Though if this is the case I'm not sure why the first one works fine for the Translated variable.
  2. You have for i,v in pairs(shop_items) do on line 5. The 'v' letter or variable represents an element from the 'shop_items' list. Maybe that element is an array so you have to access its members by doing v[1], v[2], etc. Try to use outputChatBox(v[2]) and see what appears in the chat. Same for v[1] and v[2]. Here's an example: You have a list of PC parts called 'shop_items'. Each part from the list is marked with the letter 'v'. Every PC part has a model number, name, manufacturer, etc. So if the first information is the name of the part you simply write v[1] and you get the name of the PC part. If you want the model number, you type v[2] and if you want the manufacturer you type v[3] and so on.
  3. Won't it be better to use one of these mods instead of using shaders? https://community.multitheftauto.com/index.php?p=resources&s=list&name=signal&descr=&category=
  4. Try a browser like this: https://community.multitheftauto.com/index.php?p=resources&s=details&id=11963
  5. Hey, quick search found this: https://community.multitheftauto.com/index.php?p=resources&s=details&id=10065 Give it a go and if not working search for 'youtube' keyword to find other resources which may work.
  6. I've had a bug where if I have a vehicle paintjob set on one server and enter another, the one from the first server is still applied. Only fix was to restart client as well. Btw I don't think it matters if the resources are in a seperate folder or not. If they're named the same then they will overlap with other servers' ones. You can see in MTA San Andreas\mods\deathmatch\resources folder that just the resources get downloaded, not the whole folder they're in. I renamed all resources at my server by adding a prefix to them. This not only solves such overlap problems but also means that once players download my stuff the first time, they won't have to ever do so again as when they enter other servers the scripts won't get overwritten.
  7. Just updated it and it should work perfect now
  8. It's funny how easy this was now after having learned JavaScript, HTML and CSS along with SQL more intensively for the past year. Made a working script for a few hours and finished it in a few days. Here's my web toptimes viewer: https://community.multitheftauto.com/index.php?p=resources&s=details&id=18065
  9. That explains everything. Thanks for the help everyone Even though it won't work as I want to I learned how to do it server-side if I ever need to. Ended up using another car which has double exhausts by default.
  10. I also tried setting it server-side but doesn't work again.
  11. It seems like it doesn't set the handling at all. I use this to set it: for k, v in ipairs(getElementsByType("vehicle")) do local model = getElementModel(v) if model == 542 then setVehicleHandling(v, "modelFlags", 0x00002000) end end also tried with setVehicleHandling(v, "modelFlags", tonumber("0x00002000")) but nothing. I also made a command which gets my current vehicle's modelFlags value and it always seems to be the exact same one - doesn't matter if I set it to 0x00002000 or not. Here's that function: function asdas() local handlingTable = getVehicleHandling(getPedOccupiedVehicle(localPlayer)) local value = handlingTable["modelFlags"] outputChatBox(value) end addCommandHandler("go", asdas) Will try with Hedit now. @Tut indeed it does work when I set it with hedit
  12. It doesn't seem to work. Should the default GTA:SA car have two exhausts or this would work even if it doesn't? The Clover has only one exhaust, but my custom model has two.
  13. So I should use setVehicleHandling but it needs Hexadecimal/Decimal value for the modelFlags according to the Wiki. How exactly should this be done as there are none such given where DBL_EXHAUST is? I opened the handling.cfg of GTA:SA and there it says this: ; (af) modelFlags!!! WARNING - Now written HEX for easier reading of flags ; ; 1st digit 1: IS_VAN 2: IS_BUS 4: IS_LOW 8: IS_BIG ; 2nd digit 1: REVERSE_BONNET 2: HANGING_BOOT 4: TAILGATE_BOOT 8: NOSWING_BOOT ; 3rd digit 1: NO_DOORS 2: TANDEM_SEATS 4: SIT_IN_BOAT 8: CONVERTIBLE ; 4th digit 1: NO_EXHAUST 2: DOUBLE_EXHAUST 4: NO1FPS_LOOK_BEHIND 8: FORCE_DOOR_CHECK ; 5th digit 1: AXLE_F_NOTILT 2: AXLE_F_SOLID 4: AXLE_F_MCPHERSON 8: AXLE_F_REVERSE ; 6th digit 1: AXLE_R_NOTILT 2: AXLE_R_SOLID 4: AXLE_R_MCPHERSON 8: AXLE_R_REVERSE ; 7th digit 1: IS_BIKE 2: IS_HELI 4: IS_PLANE 8: IS_BOAT ; 8th digit 1: BOUNCE_PANELS 2: DOUBLE_RWHEELS 4: FORCE_GROUND_CLEARANCE 8: IS_HATCHBACK
  14. Hey guys, Been almost a year since I did something with MTA's Lua but now got interested and made a race map using this Chevrolet Impala 1967 model to replace the Clover. As you can probably guess I'm a huge fan of Supernatural and want to have every detail like it is on the show. So here's my question: How to make the right exhaust of the car emmit smoke as does the left one? I've seen double exhaust cars in GTA:SA (I think one was the Banshee but I can be wrong) but I want to use the Clover in this map as its handling is perfect. Any ideas? The only thing I could find was this topic but I am not familiar at all with .dff editing etc and the guy who suggested that hasn't been active for 2-3 years now:
  15. This is truly amazing. Great work and thank you for sharing it with everybody