Jump to content


  • Posts

  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Egor_Varaksa's Achievements

Advanced Member

Advanced Member (8/54)



  1. Hello, I use this so that only the Latin alphabet and numbers can be entered in the input field. What should I do to be able to enter the underscore character "_"? addEventHandler("onClientGUIChanged", edit, function(element) guiSetText ( edit, string.gsub (guiGetText(edit), "%W", "")) end)
  2. I don't understand how to round off certain elements with this. Can you explain?
  3. Egor_Varaksa


    How can I round off dgsCreateButton and dgsCreateEdit?
  4. I don't have the code. I want to make it so that when a player logs into an account, the date and time of his login are recorded in the database (internal.db). I want the date to be recorded a certain number of times and then start being overwritten. Let's say a player logged in on 01.03.2022, then he logged in on 02.03.2022, then 03.03.2022, and when he logs in on 04.03.2022, the date 01.03.2022 is deleted
  5. How to make 3 lines written to the database, and then they started to be overwritten Example: 06.03.2022\n 05.03.2022\n 04.03.2022 And then the bottom line was deleted and the previous one was written in its place Example: 07.03.2022\n 06.03.2022\n 05.03.2022
  6. Do I need to create a table with forbidden characters? If so, it will take a long time. Is it possible, on the contrary, to create a table with only allowed characters?
  7. How can I make it so that only English letters and numbers can be entered in the guiCreateEdit field?
  8. If I want the time to always be updated down to the second, I need to call the triggerServerevent event every second? Will there be a load on the server?
  9. How can I get real time on the client side from the server side?
  10. Thanks. How do I make it show a maximum of 23 hours and 59 minutes? https://imgur.com/a/ARAK9Fh
  11. Egor_Varaksa


    Hello, how can I make it so that when I enter the command /timer 3600, the timer is displayed for the players, and the time 1 hour 00 minutes 00 seconds is displayed on it, and then 59 minutes 59 seconds and so on. In short, I only need the remaining time to be displayed.
  12. Add the setServerName function. If I'm not mistaken, it was there before, but why was it removed?
  13. Well, how do I find out which client the player uses?
  • Create New...