Jump to content

3B00DG4MER

Members
  • Posts

    512
  • Joined

  • Last visited

Everything posted by 3B00DG4MER

  1. Plz Fix it If you fix it i'm going to save and next time i won't do the wrong again plz fix it
  2. 3B00DG4MER

    Help me

    you have to edit the connection to database find something wrote dbConnect and change it like that : dbConnect("mysql","dbname=Your Database name here;host=localhost,"root","","share=1")
  3. i fixed it Now it's shows me 1 2 3 ..... i want to show the table things ex: in db table 1 Unknown 2 Gamer 3 Player i want to show those in a gridlist plz help
  4. i fixed it Now it's shows me 1 2 3 ..... i want to show the table things ex: in db table 1 Unknown 2 Gamer 3 Player i want to show those in a gridlist plz help
  5. i used them and it's tell me when i try to trigger: triggerClientEvent [Expected Element at Argument 3, got table] i changed server: function testsql() connection = dbConnect( "mysql", "dbname=cir;host=localhost", "mtaserver", "game2020", "share=1" ) dbExec( connection, "INSERT INTO names VALUES (?,?)", 4, "test2" ) local allnames = dbQuery( connection, "SELECT * FROM names") local result = dbPoll(allnames, -1) triggerClientEvent(getRootElement(),"onStart",result) end addCommandHandler("testmysql",testsql)
  6. Hi Guys today i've make xampp localhost i've make database,table..... and yea,i tried to connect lua script with database and it's works but i have a small problem i tried to make a test : Selects all things in table and show them in a gridlist help plz Here is Server: connection = dbConnect( "mysql", "dbname=cir;host=localhost", "mtaserver", "game2020", "share=1" ) dbExec( connection, "INSERT INTO names VALUES (?,?)", 4, "test2" ) local allnames = dbExec( connection, "SELECT * FROM names") triggerClientEvent(getRootElement(),"onStart",allnames) Client: function testing( allnames ) local playerList = guiCreateGridList ( 0.80, 0.10, 0.15, 0.60, true ) local column = guiGridListAddColumn( playerList, "Player", 0.85 ) for player in ipairs(allnames) do local row = guiGridListAddRow ( playerList ) guiGridListSetItemText ( playerList, row, column, getPlayerName ( player ), false, false ) end end addEvent("onStart",true) addEventHandler("onStart",localPlayer,testing)
  7. 3B00DG4MER

    1.4 Beta Release

    https://wiki.multitheftauto.com/wiki/DownloadFile not added Plz add that function it's really help us !!
  8. 3B00DG4MER

    1.4 Beta Release

    It's work perfect with Arabic
  9. You can use this https://forum.multitheftauto.com/viewtopic.php?f=91&t=38627
  10. Today I've tried to make blips for players but i look for onPlayerTeamChange I didn't found it so i tried to add onClientRender but it's take memory Can MTASA group Add onPlayerTeamChange Event Plz
  11. it's take download An image like this wont take more than 100kb, maybe even less if it's small. If you don't want to take the download part. Don't make these rounding corners. Okay okay i'll make a image
  12. You mean can't make it rounded ?
  13. Hello,Today i have made a NEWS System is it possible to make the rectangle rounded like this ?
  14. fix it then .!! Look at his Signature and Mine
  15. won't work if you have background blur script can you give me it plz ?
  16. We SAID fix not give us link of resource
  17. Hello,i want to make BackGround Shader but it's won't work it's show black screen local screenWidth, screenHeight = guiGetScreenSize() local myScreenSource = dxCreateScreenSource(screenWidth, screenHeight) addEventHandler( "onClientRender", root, function() if myShader then dxSetShaderValue(myShader, "ScreenSource", myScreenSource) dxDrawImage(0, 0, screenWidth, screenHeight, myShader) end end ) -- Use 'toggle' command to switch shader on and off myShader, toonTec = dxCreateShader("blur.fx") addCommandHandler( "toggle", function() if not myShader then myShader = dxCreateShader( "blur.fx" ) -- Create shader else destroyElement( myShader ) -- Destroy shader myShader = nil end end )
  18. Me too I can help MTA:SA with 'Arabic' Language
×
×
  • Create New...