![]() |
Functions :)
Ok, i will try and make this as simple as i can.
I am making a script that is somewhat like diablo 2, where you have an inventory, and a dropdown menu with item stats and other things. Like in diablo 2, there are requirements and you need to achieve that score before you can equip that item. I have a quick function to get the requirements and spit them out. PHP Code:
PHP Code:
How do i make it so that i can go PHP Code:
Thankyou ~Cody Woolaver |
Im guessing that i dont need to use 'return' is there some other value that i should be using?
|
Store $requirement and $equip in an array and then return the array ;
PHP Code:
PHP Code:
|
ah, thanks a ton paul :)
|
All times are GMT. The time now is 09:29 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|