Jump to content

Pembo

Members
  • Content Count

    36
  • Joined

  • Last visited

Community Reputation

8 Neutral

1 Follower

About Pembo

  • Rank
    Rat

Details

  • Location
    United Kingdom
  • Interests
    Programming, 3D Game Development, Software Development

Recent Profile Visitors

789 profile views
  1. Pembo

    Severe Mouse Delay

    Wops I mean out of all resolutions it worked in 1600 x 900 and 1024 x 768 and of course I eventually got it to work in 1080p.
  2. Pembo

    Severe Mouse Delay

    Well sorry for adding it a bit late but I also I didn't mention the problem I have with changing resolutions (or even being able to run MTA on first installation). The screen resolution for my PC monitor and 2 laptops is 1080p and on every one of them I have had trouble when first launching MTA. The problem I had on them was that I could not launch it at all (kept getting a black screen) so I forced it into 640 x 480 res and it worked. I then restarted MTA and it launched automatically in 640 x 480 and I went into settings and changed MTA res to nearly all available and of all of them, only 16
  3. Pembo

    Severe Mouse Delay

    It is the Razer Naga Epic Chroma. I should also add that I have the same issue using other mice and even my laptops touchpad.
  4. To convert hours to minutes: function hoursToMinutes(hours) local seconds = 3600 * hours local minutes = seconds / 60 return minutes end
  5. Pembo

    Severe Mouse Delay

    https://pastebin.mtasa.com/322835729
  6. Pembo

    Severe Mouse Delay

    I have been having a lot of trouble with my mouse lately that's causing it to have a very large delay on MTA which makes it LITERALLY impossible to play on a server normally. Although the issue originally arose some time last year, it is only now it has came to my proper attention again as I wish to be able to play on a server. I have tried many things to fix this and I can safely dismiss it being the mouse simply because it does this on MTA only; and on my other two PC's as well. Does anyone have any idea what the issue is and how I can solve it? I have tried quite a few things no
  7. Pembo

    I need HELP pls

    Here is a command that can be used to toggle all players visibility: Server --//Variable stating whether players are visible or not local is_visible = "true" function setPlayersVisibility(src, cmd, state) if (not state or state ~= "true" or state ~= "false") then outputChatBox("Syntax: /setplayersvisible <state>", src, 255, 0, 0) return false end if (state == is_visible) then outputChatBox("Players visibility is already set to this value.", src, 255, 0, 0) return false end for _, player in ipairs(getElementsByType("player")) if (state == "tru
  8. Pembo

    Mta sa server

    To answer this there are a few ways to fix this issue. -The first option would be to upgrade your server package or change hosts so that you can have more CPU power and RAM. It is certainly beneficial to have a good server host and package, especially if your server has a decent amount of players daily. -Secondly you should fix scripts that contain sloppy code as they can use up an exponential amount of CPU power. This can be done by eliminating certain culprits within your code like for example; triggering server events on the root element where not necessary. This will have
  9. In the client code you have made it so the render function will only run for one frame only simply because you removed the event immediately after. You need a way to make the render function end when the player stops typing. Also, I would not advise that you use the same name for your event as your function as this can cause confusion.
  10. Like how far above, just slightly? Also what size is your marker?
  11. change it to: function eventstart() local countdown = setTimer(countdownFin, 5000, 1) addEventHandler("onClientRender", root, eventszamlalas) end addCommandHandler("asd", eventstart)
  12. It's because you initialised the timer in the global scope meaning it basically gives you the same result as using the event "onResourceStart". If you want to set a timer when called for, use it within a function instead of the global scope.
  13. No longer searching for a partner.
  14. Pembo

    GUI Click

    Ah okay glad you fixed it.
  15. Pembo

    GUI Click

    AH! The error is that your using source instead of client. Replace 'veh[source]' with 'veh[client]'.
×
×
  • Create New...