willunited Posted August 24, 2012 Author Share Posted August 24, 2012 Example:I make a TxtBox,i want to transform him into QuestlvlLimit (Rec)Example:Quest(questnum).QuestlvlLimitHow i do it? Link to comment Share on other sites More sharing options...
Growlith1223 Posted August 25, 2012 Share Posted August 25, 2012 a little more specificfrom what i think ur tryin to do…in the txtbox_changejust put likeQuest(questnum).QuestlvlLimit = txtBox.Text Link to comment Share on other sites More sharing options...
or3o Posted August 25, 2012 Share Posted August 25, 2012 also you would need to put a```QuestlvlLimit as long```in mod constants underPublic Type PlayerQuestRec in both client and server Link to comment Share on other sites More sharing options...
Ruins of Hell Posted August 25, 2012 Share Posted August 25, 2012 > Quest(questnum).QuestlvlLimit = txtBox.TextVery close, except you can't directly assign a string to an integer, but you can use the Val function instead.```Quest(questnum).QuestlvlLimit = Val(txtBox.Text)``` Link to comment Share on other sites More sharing options...
Growlith1223 Posted August 25, 2012 Share Posted August 25, 2012 oh yea lol i forgot about the Val command 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