-
Posts
285 -
Joined
-
Last visited
Everything posted by dugasz1
-
Thank you, But i wanna check all the space after start whit capital letter too. Now he can write: Sean devlin or Sean jr. devlin but it isn't good Every first letter after space must capital letter : Sean Devlin or Sean Jr. Devlin And the special char problem. Can you write me a example for check a edit for special characters.
-
Hello! Can i add a new object like in DD or in Race the nitro orr the fix veh pickup. Iwanna add a weed obj.
-
Hy! I want to exemine a string. Requirement: - Start whit capital word - Only letters are avaible - Special characters are unavaible Can someone send me some example to i can made it?
-
Ohhh, thanks! I don't think, i have to let space to the drop down part
-
karakterKeszitoPanel = guiCreateStaticImage( 15, 260, 349, 700, "kepek/karakterkeszit.png", false ) txtVezetekNev = guiCreateLabel(20 ,60 , 85, 15, "Vezetékneved:", false, karakterKeszitoPanel) guiSetFont ( txtVezetekNev, "default-bold-small" ) txtKeresztNev = guiCreateLabel(20 ,80 , 85, 15, "Keresztneved:", false, karakterKeszitoPanel) guiSetFont ( txtKeresztNev, "default-bold-small" ) txtUtoNev = guiCreateLabel(20 ,100 , 85, 15, "Utóneved:", false, karakterKeszitoPanel) guiSetFont ( txtUtoNev, "default-bold-small" ) vezetekNev = guiCreateEdit(110 ,60 , 150, 18, "", false, karakterKeszitoPanel) keresztNev = guiCreateEdit(110 ,80 , 150, 18, "", false, karakterKeszitoPanel) utoNev = guiCreateEdit(110 ,100 , 150, 18, "", false, karakterKeszitoPanel) kov1 = guiCreateLabel(40 ,120 , 250, 18, "Követelmények:", false, karakterKeszitoPanel) guiSetFont ( kov1, "default-bold-small" ) kov2 = guiCreateLabel(40 ,140 , 250, 18, "-Nagybetűvel kezd a neveid!", false, karakterKeszitoPanel) guiSetFont ( kov2, "default-bold-small" ) kov3 = guiCreateLabel(40 ,160 , 250, 18, "-Ne írj bele spacet se speciális karakterket!", false, karakterKeszitoPanel) guiSetFont ( kov3, "default-bold-small" ) kov4 = guiCreateLabel(40 ,180 , 300, 18, "-RPs név legyen pl.: Kis Lajos vagy Kis Krisztián Lajos!", false, karakterKeszitoPanel) guiSetFont ( kov4, "default-bold-small" ) txtNemed = guiCreateLabel(20 ,200 , 260, 18, "Nemed:", false, karakterKeszitoPanel) guiSetFont ( txtNemed, "default-bold-small" ) nemed = guiCreateComboBox ( 110, 200, 100, 20, "Válasz", false, karakterKeszitoPanel ) guiComboBoxAddItem(nemed, "Férfi") guiComboBoxAddItem(nemed, "Nő") guiSetVisible( karakterKeszitoPanel, false ) Hello! When i'm click to the chombobox nothing happen don't show the oprions ("Nő","Férfi"). Why?
-
Can you give me an example ? I don't get it cearly:/
-
Hello! I've got a table whit skin ids: avaibleSkins = {"10","12","15","45"} How i can make two button a next and a back? The next button always call the next number, the before always call the previous number.
-
I think in the forum's database password will be code to MD5 the you must coding to md5 the editbox when you want to query it. local edit = guiCreateEdit(177 ,76 ,150 ,18 ,"", false, loginPanel) local gotEdit = guiGetText(edit) local md5Edit = md5(gotEdit )
-
Thanks whit it's working:)
-
I tryed it, but don't work: beleppanel = guiCreateStaticImage( (screenX-349)/2, 260, 349, 229, "kepek/belepespanel.png", false ) felhasznalo_edit = guiCreateEdit(177 ,52 , 150, 18, "", false, beleppanel) guiSetProperty( felhasznalo_edit, "AlwaysOnTop", "True" ) guiSetAlpha ( felhasznalo_edit, 0 ) jelszo_edit = guiCreateEdit(177 ,52 ,150 ,18 ,"", false, beleppanel) guiSetAlpha ( jelszo_edit, 0 ) guiSetProperty( jelszo_edit, "AlwaysOnTop", "True" ) function textMezo () textFelh = guiCreateLabel(187, 52, 150, 18,"proba",false,beleppanel) guiSetFont (textFelh, "clear-normal") editFelhText = guiGetText(felhasznalo_edit) guiSetText (textFelh, editFelhText) outputDebugString("timerok") end setTimer ( textMezo, 5000, 1 ) guiSetVisible( login_register_window, true )
-
hmm.. on 0.7 it's pale but the words change whit the editbox
-
guiSetProperty(felhasznalo_edit, "NormalTextColour", "FFFF0000") guiSetAlpha ( felhasznalo_edit, 0.7 ) Tryed but still i don't see the words
-
no,no Sorry i don't explain it clearly. I want to show only the writed words in it.
-
Yes now i typed in something and i see only this:/ (On the first picture i don't set deliberately the alpha to 0 because everybody see the edit box )
-
Sorry, it's just a mistake:/ Don't working i see only the ... i don't know how i can call it
-
Hello! Heres my login script detail: beleppanel = guiCreateStaticImage( (screenX-349)/2, 260, 349, 229, "kepek/belepespanel.png", false ) felhasznalo_edit = guiCreateEdit(179 ,52 , 150, 18, "", false, beleppanel) guiSetAlpha ( felhasznalo_edit, 50 ) Its look like this. I want to put a edit box in the picture's "input box" and set the edit box's alpha 0 but when somebody write something the text invisible too:/ Any idea how i can display onli the text.
-
Hello! How i can destroy this dxDraws, to the player don't see it? dxDrawRectangle (1, 2, 700, 700, tocolor ( 0, 0, 0, 150 ) ) dxDrawText ( "Welcome test", 1, 2, 10, 10, tocolor ( 255, 255, 255, 255 ), 1, "bankgothic" )
-
if string.sub(msg, 1, 1) == "/" then executeCommandHandler(split(msg,' ')[1]:gsub("/",""),player,msg:gsub(split(msg,' ')[1],'')) else for _,v in ipairs(getElementsByType("player")) do if isPlayerInRangeOfPoint(v,px,py,pz,chat_range) then outputChatBox(nick.." mondja: "..msg,v,255,255,255,true) end end end I copyed it. Now the if is look like this. But it's still don't work. No error message. EDIT: No sorry, it's working just i tryed hardcoded (reconnect,quit) commands. Whit harcoded don't work but it isn't problem. Thank you very much
-
I don't know how but it's possible. I saw a server whit local chat and binded to "t"
-
No sorry don't delete just replace the 2. argument to getLocalPlayer() (I'm writing from mobile it's hard. i edited my fail post)
-
addEventHandler("showGUI2", getLocalPlayer(), showGUI2) oops.I want to write this in my last comment too,just delet this line by mistake
-
function showGUI2(hitElement) guiSetVisible(Wnd,true) showCursor(true) end Try it whitout the if. Just a idea
-
Sorry. So, here's this local chat script only the nerby players see the message. I binded it "t" key it's overwrite the original chat. Now when i want to use a command (example /login or /reconnect or my commands) there's aren't work just send the command in the chatbox the commands don't work. At line 24 the script check it's a command or just a message but if it's a command i don't know what can i do whit it to i can use it. Note: In the script "mondod" / "mondja" are hungarian words means "say"