titan_boy
Members-
Posts
26 -
Joined
-
Last visited
Everything posted by titan_boy
-
oh i found how to do it. thank you everybody!
-
@MrTasty can you show me how to put that in this code?: dbQuery(con, "SELECT action FROM dbase WHERE zalop=? LIMIT 0, 20", zalop)
-
@ALw7sH Thank you, but can you show me an example how to put this in a code?
-
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
-
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.
-
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)
-
thank you i will try it!
-
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?
-
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!
-
oh ok Solidsnake14 thank you again!
-
Solidsnake14 you know how to make it?
-
no its not working the error: WARNING: Script 'Scriptname\thefile' is not encoded in UTF-8. Loading as ANSI...
-
@Anubhav thx i will test it.
-
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
-
thank you very much WhoAmI!
-
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?
-
thank you very much Soldidsnake14!! its working!
-
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?
-
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.
-
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.
-
@JR10 but its not at the same row.
-
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
-
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