Jump to content

titan_boy

Members
  • Posts

    26
  • Joined

  • Last visited

Everything posted by titan_boy

  1. oh i found how to do it. thank you everybody!
  2. @MrTasty can you show me how to put that in this code?: dbQuery(con, "SELECT action FROM dbase WHERE zalop=? LIMIT 0, 20", zalop)
  3. @ALw7sH Thank you, but can you show me an example how to put this in a code?
  4. Hello, i try to find anything but i didnt find the thing what i want. @izcream Maybe there is a way to INSTERT a data in a database before all other data? example: data: 1: hahaha 2: lololol 3: testest new data after adding a new thing in the data: 1: newnewnew 2: hahaha 3: lololol 4: testest
  5. Hello, I need to get the data from a database from the back. It needs to start from the back. how can i do this. it is for the rows in a gridlist but it takes the data from the wrong side. the newest data go under now. It need to take the last row first. I can not use: 'guiGridListInsertRowAfter' because if i use this the script don't works good because the gridlist have some row limits ect. srry for my bad english. EXAMPLE: now i have it like this: row1: testtest row2: test row3: testtest123 row4: lalalala i want it like this: row4: lalalala row3: testtest123 row2: test row1: testtest I hope someone can help me.
  6. its not working i tryd this: local UseText = guiGetText(add_item_price) addEventHandler("onClientGUIChanged", add_item_price, function() if source ~= edit then return false end guiSetText(add_item_price, UseText) end)
  7. Hello, I have found a bug in a script of me and i can fix it with disabling pasing in a editbox. Does anyone know how to do that?
  8. Hey all, I have a problem with my server 'CRP ORIGINAL' and idk how to fix this. first of all i have followed the staps on this page: https://forum.multitheftauto.com/viewto ... 14&t=48868 the problem is that i can't search my server in the internet tab when i search for CRP. i think MTA have added a tag protection for CRP because there is another server too called CRP. I am not copying the server name because i had created CRP first but someone called 'ajax' scammed me and opened a server called CRP. Now he is using my ig name: '[CRP]Soul' and is impersonating with my server name. Now i have opened my server again and called it 'CRP ORIGINAL' but i got this problem i hope MTA staffs can help me! please help me with this server browser problem!
  9. oh ok Solidsnake14 thank you again!
  10. Solidsnake14 you know how to make it?
  11. no its not working the error: WARNING: Script 'Scriptname\thefile' is not encoded in UTF-8. Loading as ANSI...
  12. function acceptedNames ( element ) local text = guiGetText ( element ):gsub ( "%p", "" ) guiSetText ( element, text ) end addEventHandler ( "onClientGUIChanged", theEdit, acceptedNames, false ) can anyone help me with a problem please? i dont want things like #*+=%€ and i use this code but i want to use @ and . in the edit box. but this code is disabling @ and . too
  13. Hello all, i have again a question with the edit boxes. now i will ask how to disable the space bar when editing in a edit box?
  14. thank you very much Soldidsnake14!! its working!
  15. thank you Solidsnake14 but how do i put this in my script? like this?: function acceptedNames(element) local myString = "Hello World ^^,-*/-/*/-,." myString:gsub ( "%p", "" ) end addEventHandler("onClientGUIChanged", theEdit, acceptedNames, false) can someone give my an example of the function?
  16. hello all, can someone help me please with a problem? The problem is that i will make a edit box for only letters and numbers. not !~!@#$%^&* ect. i know this: theEdit = guiCreateEdit( 15, 326, 221, 33, "", false, Window["mainWindow"] ) local txt = guiGetText(theEdit) local text = string.gsub(txt, "[^a-z]", "") local text = string.gsub(txt, "[^0-9]", "") but idk what i need to do with this. help me please.
  17. can anyone help me please?? i need to select the item in 1 gridlist but it must be removed in 2 gridlists and the rows are not the same.
  18. @JR10 but its not at the same row.
  19. Hello all, i have created an gui with 3 gridlist and in one of them you can see your items. to set your items for sale you must select an item in the first gridlist and press on a button. then the item is going to the other 2 girdlists. i was working on a "remove from sale" button but how to remove the 2 rows in 2 gridlists with 1 selected row? thx for helping. sorry for my bad english
  20. Hello, ADMIN I had created a server called: CRP after i close the server he opened a server with the same server name! They are using my scripts(resources) and they are using the scripts of CIT2 server! the owners are: AJAX and JumpStreet please help me! THX
×
×
  • Create New...