Jump to content

Lpsd

Discord Moderators
  • Posts

    313
  • Joined

  • Last visited

  • Days Won

    2

Lpsd last won the day on June 9 2019

Lpsd had the most liked content!

5 Followers

About Lpsd

  • Birthday 30/12/1997

Member Title

  • Discord Moderator

Details

  • Gang
    EPG
  • Location
    UK

Recent Profile Visitors

4,077 profile views

Lpsd's Achievements

Prankster

Prankster (22/54)

96

Reputation

1

Community Answers

  1. Version 1.01 has been released which includes optimizations for CPU usage on popular servers (> 100 players)
  2. Please create a new ban appeal which includes your MTA serial, as per the guidelines. You can obtain your serial by opening the in-game console (F8 key default), then type "serial" (without quotes) and press enter.
  3. You already made a topic just 12 hours ago which has already received a response. Please refer to the previous topic and don't submit any further topics on this matter - doing so may result in further access restrictions.
  4. Lpsd

    Ban Appeal

    This is basically ban evading, by proxy. The answer is still no.
  5. Temporary bans cannot be appealed. You should think about your actions next time - unfortunately you will have to miss this event, so let it be a lesson to you for the future.
  6. Version 1.0 has just been released, it's a refactor but keeps all existing API / functionality (better code design and bug fixes). Currently this resource only detects a fully lost connection (which only helps for "basic" lag-switches that kill the connection temporarily), however I'll soon be adding basic ping monitoring, with the ability to detect players with highly fluctuating ping / packet loss.
  7. You can use https://wiki.multitheftauto.com/wiki/CreateEffect to create fire, and update the position of the effect every frame to match the player's head position, using https://wiki.multitheftauto.com/wiki/GetPedBonePosition (BONE_HEAD). The fire in your picture looks like a custom effect - probably part of the model itself or some kind of tricky shader... however you should still get fairly close with what I suggested.
  8. It's not that simple, we haven't just removed support for XP and Vista from the latest builds because we are elitist for Windows 10, or the latest OS. Also, who said the only blockers to XP and Vista is CEF? There's so much more to consider.
  9. As far as I'm aware the latest XP/Vista builds use 76.1.13+gf19c584+chromium-76.0.3809.132 The latest 1.5.8 nightly builds use 91.1.12+gcf0c26a+chromium-91.0.4472.101 XP and Vista are blockers to many potential updates and new features, your OS is 15 years old. Consider upgrading if you want to have access to modern software and features.
  10. witam poszukuje skryptera do serwera RPG/RP wiesz moze gdzie znajde ?

  11. Lpsd

    Banned by mta

    Temporary bans cannot be appealed. Please wait for your ban to expire and don't repeat your actions (you know what you did).
  12. ConGuard Network/connection helper for MTA:SA This resource provides measures to deal with lagswitch / connection abuse in MTA (commonly seen in Destruction Derby servers, although you can use this resource in any environment/mode you wish). When a player loses connection to the server, the player (and their vehicle, if it exists) will be frozen for all remote players and a "lost connection" icon will be placed above the player. Upon re-connection, the player will be unfrozen and (by default) set back to their original position before they lost connection, to avoid the teleporting exploit. ConGuard has a few configurable options (explained on the GitHub page) and is also based on dimensions, which is useful for multi-gamemode servers who don't want to activate this in every room. The source code & documentation can be found on GitHub below. Download/GitHub: https://github.com/Lpsd/ConGuard If you have any suggestions for additional features, or find any bugs, please submit a GitHub issue
  13. @ilnaz You haven't posted any examples of how you're using dxDrawImage in your script, so it's really hard to advise you. Please post code examples.
  14. You are not providing a callback to your `UPDATE` query - which means dbPoll is not being called on the query handler, resulting in the query not being freed. You should instead use dbExec, instead of dbQuery, for your `UPDATE` query - providing you don't need to do anything once the query has completed. Otherwise, see the wiki page for dbQuery on providing a callback function with dbPoll. Regarding your problem with auto increment. You cannot set a text/string type column to auto increment. Auto increment is limited to INT type columns. You should have an additional column (at the start) called `id`, with INT type, which is set to UNIQUE Key and Auto Increment.
  15. Try this addEvent("onSettingChange", true) addEventHandler("onSettingChange", localPlayer, function(variable, value) if variable == "draw_distance" then local state = not (value == "Off") draw.setVisible(state, true) end end) function draw.setVisible(visible, notifyDisplay) draw.visible = visible and true or false draw.changeDistance(draw.visible) if notifyDisplay then triggerEvent("notification:create", localPlayer, "Draw distance", "is now "..(draw.visible and "ON" or "OFF")) end end function draw.changeDistance(max) for i,object in pairs(getElementsByType("object")) do if isElement(object) then local elementID = getElementModel(object) engineSetModelLODDistance(elementID, max and 325 or 100) end end end function initialize() draw.setVisible(true, false) end addEventHandler("onClientResourceStart", resourceRoot, initialize) Your code had all sorts of logic errors, especially with the onClientResourceStart, which was only being added when you ran draw.setVisible, but also being attached for all resources, instead of just the current one. It would never run for the current resource that way.
×
×
  • Create New...