Jump to content

Turbe$Z

Members
  • Posts

    436
  • Joined

  • Last visited

  • Days Won

    4

Turbe$Z last won the day on February 4

Turbe$Z had the most liked content!

Details

  • Gang
    DEDSEC
  • Location
    San Fierro

Recent Profile Visitors

7,464 profile views

Turbe$Z's Achievements

Hustler

Hustler (26/54)

55

Reputation

  1. You mean this? ALTER TABLE `interiors` CHANGE `megujitva` `megujitva` TIMESTAMP(6) on update CURRENT_TIMESTAMP(6) NOT NULL DEFAULT 'current_timestamp(6)'; Sorry this is my first time using MySQL
  2. I have this line: dbExec(connection,"UPDATE interiors SET megujitva = ? WHERE id = ?",getTimestamp(),idd) And the funny thing is, in the same script and same function, this is works good, i get the correct date data. But when i try in another function in the same script, i get 0000-00-00 00:00:00. Why? What the difference, cause i copied exactly the same code part (which is working) to the another function, and i got only zeros!? I dont understand... how to fix this?
  3. I want to get a data from all accounts on the server, but i get this warning: 'getAccount' [Expected string at argument 1, got account] 'getAccountData' [Expected account at argument 1, got boolean] this is my code: for i, v in pairs(getAccounts()) do names = getAccountData(getAccount(v), "acc:nickname") end outputChatBox(names) What wrong?
  4. i send datas from server side to client side then insert these datas to a table, and i want to render it, but the render does not work, cause the loop is does not working, and i dont know why, what wrong with the loop? this is my code: local playerVehicles = {} local sx, sy = guiGetScreenSize() function vehicles() for k, veh in pairs(playerVehicles) do dxDrawText(veh[k][1].." | "..veh[k][2], sx/2-370,sy/2-297,sx/2,sy/2, tocolor(255, 255, 255, 220), 3, "default-bold", "left", "top", false, false, false, true ) end end addEventHandler("onClientRender",root,vehicles) function teszt(p,id,model) table.insert(playerVehicles,{id,model}) end addEvent("test",true) addEventHandler("test",root,teszt)
  5. Hello, i want to make a vertical progress bar which comes from bottom to top, but whatever i do it show like this: it comes from top to bottom... but i want something like this: this is the code of the rectangle: dxDrawRectangle(moveX-20, moveY+5, 30, math.ceil(itemWeight)/getTypeOfElement(elementSource)[3]*290,tocolor(172, 211, 115,200)) Anyone can help me? I tried so many ways but none of them worked...
  6. Some people use this, and i see they use discord RPC with MTA, but this does not available in official version of MTA. So, where can i download the dev version?
  7. i use browser, but that's not good, because cannot play copyrighted music :s
  8. i tried all youtube music players scripts from community, but none of them work
  9. Anyone can send me a working yt mp3 converter API? Or how to create one, to play music from youtube on my server?
  10. I created a youtube player, and i want to remove the event handler, when the music ends, but i dont know how to get the song length from web browser... anyone can help?
  11. oh i got it, then my machine is not faulty.. ? thank you!
  12. I just start the client, i'm not joining to any server when the CPU usage go up to 20-30%
×
×
  • Create New...