Sealbreaker Posted September 2, 2009 Author Share Posted September 2, 2009 sooo… i just want to know how to get the text, written into a custom textbox in sadscript..... Link to comment Share on other sites More sharing options...
Admiral Refuge Posted September 2, 2009 Share Posted September 2, 2009 You mean, like a text bubble that you see with a player chat, or one of those popup text boxes? Link to comment Share on other sites More sharing options...
Sealbreaker Posted September 2, 2009 Author Share Posted September 2, 2009 a textbox in a custommenu… likecall custommenushow(blablabla)call custommenutextbox(blablablabla)and the command i wanna know is the one, to get the text inside of a custommenutextbox .... like... lets say.. you have to put the player's level into it.. so you write 10 into the text box... and now i wanna get the text ( 10 ) when pressing the ok-button next to the textbox.. how would i do it? Link to comment Share on other sites More sharing options...
Admiral Refuge Posted September 2, 2009 Share Posted September 2, 2009 Oh, that's easy.Just use::Call CustomMenuTextBox( player_index, customIndex, width, left, top, text)For future reference: http://www.touchofdeathforums.com/smf/index.php/topic,8502.0.html Link to comment Share on other sites More sharing options...
Sealbreaker Posted September 3, 2009 Author Share Posted September 3, 2009 you dont get what i mean xDi want to get THE TEXT inside of the textbox… i know how to call a custommenutextbox.... i mean something like(pseudo): Call GetCustomTextBoxSay(customindex)i hope you get what i mean.... Link to comment Share on other sites More sharing options...
Admiral Refuge Posted September 3, 2009 Share Posted September 3, 2009 @Sealbreaker:> you dont get what i mean xD> > i want to get THE TEXT inside of the textbox… i know how to call a custommenutextbox.... i mean something like(pseudo): Call GetCustomTextBoxSay(customindex)> i hope you get what i mean....So you want to find out what's inside the text box?GetPlayerMenuClickMsg(index) Link to comment Share on other sites More sharing options...
Sealbreaker Posted September 3, 2009 Author Share Posted September 3, 2009 thank you ;D Link to comment Share on other sites More sharing options...
Sealbreaker Posted September 3, 2009 Author Share Posted September 3, 2009 it just gets numbers inside of it… if there's text like: hello it gives just 0i also tried CStr.... is it possible to even get text ?edit: sorry for doublepost *knocksheadonkeyboard* stupid sealbreaker ! Link to comment Share on other sites More sharing options...
Admiral Refuge Posted September 3, 2009 Share Posted September 3, 2009 @Sealbreaker:> it just gets numbers inside of it… if there's text like: hello it gives just 0> i also tried CStr.... is it possible to even get text ?> > edit: sorry for doublepost *knocksheadonkeyboard* stupid sealbreaker !Are you using Eclipse Evolution 2.7?I'm pretty sure that bug was fixed in Eclipse Stable.NOTE: If you have VB6, the source edit to fix this bug is pinned in the Source Snippits/Tutorials board; so you can keep EE2.7, and fix the bug in the source. Link to comment Share on other sites More sharing options...
Sealbreaker Posted September 3, 2009 Author Share Posted September 3, 2009 i'll have a look on it, i have enterprise edition ;)thank you for tellin me its a bug… i'm usin 2.8 btw Link to comment Share on other sites More sharing options...
Admiral Refuge Posted September 4, 2009 Share Posted September 4, 2009 @Sealbreaker:> i'll have a look on it, i have enterprise edition ;)> thank you for tellin me its a bug… i'm usin 2.8 btw2.8 is abit more crippling then 2.7.Go with Eclipse Stable. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now