Jump to content

WhoAmI

Members
  • Posts

    1,248
  • Joined

  • Last visited

Everything posted by WhoAmI

  1. Not all. Check the modules folder on /mods/deathmatch.
  2. If you are using mysql_connect you have to install mysql module on server. https://wiki.multitheftauto.com/wiki/Mysql#Installation
  3. Use dbConnect you have examples on wiki. dbConnect( "mysql", "dbname=frank;host=1.2.3.4", "username", "password", "share=1" ) frank - database name host - ip to your database
  4. Hello, i just want to know how to remove coma from string? Well, i want to delete ONLY ONE coma which is on the end of string. Like "Something, something, something," and i want "Something, something, something"
  5. Well, personally I would choose #1.
  6. GUIEditor = { tab = {}, tabpanel = {}, label = {}, window = {}, memo = {} } addEventHandler ( "onClientResourceStart", resourceRoot, function ( ) local SCREEN_WIDTH, SCREEN_HEIGHT = guiGetScreenSize() GUIEditor.window[1] = guiCreateWindow(SCREEN_WIDTH / 2 - 540, SCREEN_HEIGHT / 2 - 339 , 1080, 678, "PANEL POMOCY", false) guiSetVisible ( GUIEditor.window[1], false ) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.tabpanel[1] = guiCreateTabPanel(23, 27, 1031, 617, false, GUIEditor.window[1]) GUIEditor.tab[1] = guiCreateTab("TAK", GUIEditor.tabpanel[1]) GUIEditor.label[1] = guiCreateLabel(10, 563, 302, 19, "Skrypterzy : x", false, GUIEditor.tab[1]) GUIEditor.label[2] = guiCreateLabel(10, 544, 302, 19, "Maperzy : ...", false, GUIEditor.tab[1]) GUIEditor.label[3] = guiCreateLabel(10, 525, 318, 19, "Administracja : x", false, GUIEditor.tab[1]) GUIEditor.label[4] = guiCreateLabel(10, 506, 302, 19, "Właściciele : x", false, GUIEditor.tab[1]) GUIEditor.tab[2] = guiCreateTab("Regulamin", GUIEditor.tabpanel[1]) GUIEditor.memo[1] = guiCreateMemo(17, 62, 999, 521, "", false, GUIEditor.tab[2]) guiMemoSetReadOnly(GUIEditor.memo[1], true) GUIEditor.memo[2] = guiCreateMemo(294, 13, 445, 39, " REGULAMIN SERWERA ", false, GUIEditor.tab[2]) guiMemoSetReadOnly(GUIEditor.memo[2], true) GUIEditor.tab[3] = guiCreateTab("Komendy", GUIEditor.tabpanel[1]) GUIEditor.label[5] = guiCreateLabel(379, 229, 453, 129, "WKRÓTCE !", false, GUIEditor.tab[3]) guiSetFont(GUIEditor.label[5], "sa-header") GUIEditor.tab[4] = guiCreateTab("Animacje", GUIEditor.tabpanel[1]) GUIEditor.label[6] = guiCreateLabel(379, 229, 368, 189, "WKRÓTCE !", false, GUIEditor.tab[4]) guiSetFont(GUIEditor.label[6], "sa-header") GUIEditor.tab[5] = guiCreateTab("V.I.P", GUIEditor.tabpanel[1]) GUIEditor.label[7] = guiCreateLabel(153, 211, 729, 92, "CHWILOWO BRAK PREMIUM !", false, GUIEditor.tab[5]) guiSetFont(GUIEditor.label[7], "sa-header") GUIEditor.tab[6] = guiCreateTab("Aktualizacje", GUIEditor.tabpanel[1]) GUIEditor.memo[3] = guiCreateMemo(25, 24, 979, 559, "COŚ TAM", false, GUIEditor.tab[6]) guiMemoSetReadOnly(GUIEditor.memo[3], true) end ) bindKey ( "f7", "down", function() guiSetVisible ( GUIEditor.window[1], not guiGetVisible ( GUIEditor.window[1] ) ) showCursor ( not isCursorShowing ( ) ) end)
  7. WhoAmI

    Ban details

    Hello. I just wanna know if is there a way to fix ban details? I searched forum but i din't find any solve. I mean this: http://scr.hu/4lpu/d0bvs I know that IP is 1.1.1.1 - its for test. But it should be date atleast, and there is nothing.
  8. WhoAmI

    boombox/radio

    Hello, I'm looking for radio/boombox object or even a mod (.dff and .txd). Does someone have one? Or know where I can find it? I need it for my radio script. Thanks.
  9. In my opinion it is okay. You don't have to move everything to MySQL.
  10. Made my own function and works now. function formatDate ( timestamp ) if ( tonumber ( timestamp ) ) then local time = getRealTime ( timestamp ) return string.format ( "%02d.%02d.%02d %02d:%02d", time.monthday, time.month + 1, time.year + 1900, time.hour, time.minute ) end end
  11. I mean minutes. Don't talk to me like to amateur. In both pictures time stamp is the same but I'm getting different values after converting to date.
  12. You can compile a file. It's the safest way. https://luac.multitheftauto.com/
  13. And one more problem. Look: http://scr.hu/4lpu/ow6h0 And on server I got http://scr.hu/4lpu/ebqoe But it should be the same as an image above.
  14. I'm using clientside. I'm converting date from created timestamp.
  15. I'm using this https://wiki.multitheftauto.com/wiki/FormatDate But this returns me my time - 1hour. Is there a way to fix that?
  16. Po włączeniu unbinduj klawisz F1 i ustaw timer, żeby się znowu zbindował po 5s.
  17. Using online converter. http://gtamap.delux-host.com/converter/
  18. That's strange because only 1, max 3.
  19. I don't know what valhalla is. Sorry man.
  20. Firstly, an* idiot. Secondly, he will find a solution anyway. It doesn't matter if he finds it faster or slower. Whatever.
  21. Go in localhost/pages/ucp/login.php
  22. NT again. Is it possible that it is OVH problem? I have there best classic VPS. In performencebrowser A_Characters still has sometimes 30%-40% of server usage. And can I set somewhere that server can use more CPU or RAM?
×
×
  • Create New...