Jump to content

The_GTA

Members
  • Content Count

    299
  • Joined

  • Last visited

  • Days Won

    21

The_GTA last won the day on November 8

The_GTA had the most liked content!

Community Reputation

132 Excellent

10 Followers

About The_GTA

  • Rank
    Pee-Wee

Details

  • Gang
    developers
  • Location
    GTA community
  • Occupation
    modding the game
  • Interests
    meow

Recent Profile Visitors

1,746 profile views
  1. Actually the bug is gone for me? No idea how. I just pray that it does not reappear. The bug has disappeared _without downloading another MTA:SA client version_.
  2. A bummer if it is to prevent TXD cheats. Since I am the developer of Magic.TXD I would be heartbroken if valid TXD mods like mipmaps are disabled by default. But I might pretend to not care just to have a good relationship with the MTA devs... I did try to download the earliest possible 1.5.8 build on nightly.mtasa.com but it seems like all the downloadable builds have been patched already. Or the data files are downloaded independently of the nightly.
  3. I did notice that mipmaps are broken and did the following bug report: https://github.com/multitheftauto/mtasa-blue/issues/1774 Our findings could be related.
  4. Please note that there exists another MTA bug: the camera matrix is sometimes wronly returned. See this Github issue for further details. I noticed that there was a tiny bug in the get_screen_coordinates function if the world coordinate was directly on the middle vertical line of the screen. Then the screen-y coordinate would be returned as inverted. Even though that issue would be virtually never encountered I decided to give you this following script which has the issue fixed: local function get_screen_coordinates(wx, wy, wz) local camMatArray = getElementMatrix(getCam
  5. Hello SryMan, welcome to the MTA scripting forums! Did you try searching for information on the MTA wiki? There is a helpful search bar in the left navigation pane and I typed "scoreboard" into it to find the following interesting article: https://wiki.multitheftauto.com/wiki/Resource:Dxscoreboard At the bottom of the article is an example on how to add your very own column to the dxscoreboard resource! Please take a look at it and post any questions that you may have. - Martin
  6. Hello OrbTanT, your script seems to use external map data that is not provided in your post. But you mention the map of a potential MTA resource. Could you please try to find the map lines in question that show the erratic behavior in connection with your script? We would like to have data that we can test instead of combing through potentially an entire map file.
  7. The_GTA

    Bot spawn

    Hello unkwn, I think the issue is simple code structure. The problem is that you are creating a ped while you do not know what skin it should have at first. You should first determine the array of available skins and then create the ped: addEvent( "onZombieSpawn", true ) function RanSpawn_Z ( gx, gy, gz, rot, zombieType, row ) local safezone = 0 local allradars = getElementsByType("radararea") for theKey,theradar in ipairs(allradars) do if getElementData(theradar, "zombieProof") == true then if isInsideRadarArea ( theradar, gx, gy ) then
  8. You mean the TXD that you replaced on your server, if you connect to another server the same textures are visible even though that server does not have your resource? That could be a MTA bug if you mean that...
  9. Thank you for posting about this bug. I think you can fix this by, instead of setting the indicator intensity to 0, set the indicator light intensity to a 0.2 or something close to that. Then you also have to add fog effect as well as ambient lighting of GTA:SA so that the texture looks as if it were rendered by GTA:SA. I will look into it tomorrow.
  10. Hello iwalidza, I was hesistant to respond because I have no experience in the MTA implementation of web services but I think you want to read this wiki article: https://wiki.multitheftauto.com/wiki/Resource_Web_Access It contains helpful examples on how to create a Lua-based HTML interface.
  11. Hello PeeQ, do you know about the difference between server-side and client-side scripts? It looks like your first script is a server-side script because you are using the server-side "onMarkerHit" event. Is it intentional that you want to create server-side peds and markers? I am going to assume that it is, so let's fix your script! What iwalidza tried to do is put both code onto the client-side. But that user forgot to use the client-side onClientMarkerHit event instead of the server-side onMarkerHit. Please test your code next time, iwalidza. In order to synchronize data b
  12. I see that it is the same problem many times so let's look at one examplein line 29: if (info.indicator_left_on == true) then Do you know about Lua tables? You don't have any "info" variable inside of this function. I think you meant to call the getVehicleIndicatorLights function with the vehicle of the local player as argument and then store the result into a local "info" variable. Try doing that at the top of that function. Then there are many followup errors because you try to look at invalid variables like "shader_left". You forgot to create those shaders inside of the info t
  13. Glad to hear that your issue has been resolved.
  14. I think the message is confusing. The timer just waits 2 seconds and not 5 minutes. I doubt that you are typing "/rp" two times faster than 2 seconds. But the script above does prevent ... "rapid" enabling. And then there is this weirdness about a timer inside of a timer. Maybe try increasing some timers?
  15. Hello NewMemberScript and welcome to our MTA scripting forums, could you please format your Lua code properly using the "<>" button in the richtext editor? Also please post in English because I cannot really understand your problem...
×
×
  • Create New...