puneetg30 Posted May 14, 2019 Share Posted May 14, 2019 Hey everyone, I m working on a dialog box and the dialog box contains a button for L$1 and i want that after clicking on button, the user will pay me money and get his product. I dont want to right click and pay. I want it to happen using the dialog box. Please reply ASAP... thank you Link to comment Share on other sites More sharing options...
Kardargo Adamczyk Posted May 14, 2019 Share Posted May 14, 2019 you can use the llDialog box to set the llSetPayPrice, other then that i think you are out of luck Link to comment Share on other sites More sharing options...
puneetg30 Posted May 14, 2019 Author Share Posted May 14, 2019 YES, you are right but how can if i use the setPayPrice, then also i need to right click and pay... but i want the user to pay money when he clicks button on dialog box Link to comment Share on other sites More sharing options...
Kardargo Adamczyk Posted May 14, 2019 Share Posted May 14, 2019 like i said, you are out of luck, would be nice for a whole lot of scammers if they could hide a payment routine inside the dialog box routine, click okay and lose 100 lindens... nope a payment always has to be initiated by the user. Link to comment Share on other sites More sharing options...
Wulfie Reanimator Posted May 14, 2019 Share Posted May 14, 2019 2 minutes ago, puneetg30 said: YES, you are right but how can if i use the setPayPrice, then also i need to right click and pay... but i want the user to pay money when he clicks button on dialog box This is impossible because dialogs do not support sending money. 1 1 Link to comment Share on other sites More sharing options...
Kardargo Adamczyk Posted May 14, 2019 Share Posted May 14, 2019 What you can do is set the object to pay, if the script has a money() event the payment dialog will pop up after a click event, that way you do not use right click, but a left click 1 Link to comment Share on other sites More sharing options...
Rolig Loon Posted May 14, 2019 Share Posted May 14, 2019 I don't know exactly what your setup looks like, but you might consider just setting the click action on your vendor to BUY so that a customer doesn't have to deal with dialogs at all. Set it to give contents on payment of L$1. 1 Link to comment Share on other sites More sharing options...
Kyrah Abattoir Posted May 14, 2019 Share Posted May 14, 2019 1 hour ago, puneetg30 said: YES, you are right but how can if i use the setPayPrice, then also i need to right click and pay... but i want the user to pay money when he clicks button on dialog box It's a security feature, you cannot summon a pay dialog through script, the user has to open it themselves. 1 Link to comment Share on other sites More sharing options...
puneetg30 Posted May 15, 2019 Author Share Posted May 15, 2019 20 hours ago, Rolig Loon said: I don't know exactly what your setup looks like, but you might consider just setting the click action on your vendor to BUY so that a customer doesn't have to deal with dialogs at all. Set it to give contents on payment of L$1. yes you are right.. but you know new scripter.. so was trying to do that Link to comment Share on other sites More sharing options...
Rolig Loon Posted May 15, 2019 Share Posted May 15, 2019 4 hours ago, puneetg30 said: yes you are right.. but you know new scripter.. so was trying to do that Ah, OK. That's not a scripting thing, though. Just select your object, open the editor, and set the click action from the dropdown menu on the General page 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now