multigame Posted December 30, 2008 Author Share Posted December 30, 2008 There are mush of guides to this but I CANT make it. They say in the guides "Just put the code in the bottom" Wow thats a easy guide right? So can on just pm me or reply here where one creates a nice guide to newbies like me. Thanks :cheesy: Link to comment Share on other sites More sharing options...
Techno 5.0 Posted December 30, 2008 Share Posted December 30, 2008 http://www.touchofdeathforums.com/smf/index.php?topic=5309.0read it and understand itif udont understand itthen learn codingbut it isnt farely hard to understand Link to comment Share on other sites More sharing options...
multigame Posted December 30, 2008 Author Share Posted December 30, 2008 I dont understand where all the text and where the character shal kill one. Please can someone tell me what this is and what it does?'********************************Sub quest_Take_Item(index, number, value)'********************************Dim slotDim initialDim finalDim takenslot=1 Do While Int(slot) < 25 If taken <> 1 Then If Getplayerinvitemnum(index,Int(slot)) = Int(number) Then If Int(getplayerinvitemvalue(index, Int(slot))) >= Int(value) Then initial = Int(getplayerinvitemvalue(index, Int(slot) ) ) final = Int(initial) - Int(value) If Int(final) <= 0 Then Call setplayerinvitemnum(index, Int(slot), Int(0) ) Call setplayerinvitemvalue(index, Int(slot), Int(0) ) Call setplayerinvitemdur(index, Int(slot), Int(0) ) Call SendInventoryUpdate(index, Int(slot)) taken=1 Else Call setplayerinvitemvalue(index, Int(slot), Int(final) ) Call SendInventoryUpdate(index, Int(slot) ) taken=1 End If End If End If End If slot = slot + 1 LoopEnd Sub Link to comment Share on other sites More sharing options...
Techno 5.0 Posted December 30, 2008 Share Posted December 30, 2008 YOU ARE SO BLINDit says specifically to put it at the very bottom of the Main textmy god can you read? Link to comment Share on other sites More sharing options...
multigame Posted December 30, 2008 Author Share Posted December 30, 2008 Yeah I can I dont say where its shall be I say where shall all the edit shit text be.LIKE: initial = Int(getplayerinvitemvalue(index,"EDIT HERE" Int(slot) ) )EX: initial = Int(getplayerinvitemvalue(index,"Hello GOD I GOT A QUEST FOR YOU" Int(slot) ) ) 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