Jump to content

How to start scripting an inventory system?


Zafire

Recommended Posts

Posted

Hey, i want to create an inventory system.. for put items like notes, or materials i create, bullets, etc.. but i dont knooow how to start :S, suggestions?

Posted
You need to make it using .xml file.

Try to do something yourself, what's the binfit of Wiki IYO?

xml?.. i can do it with mysql its better?.. load the data from mysql.. i use it now for register users in the gm i am making.. and load dialogs, etc

Posted

I don't know what is MySQL :(

If it's like xml, then you can use it to save \ load data !

And you can register the saved items as a new element, and make new functions for it...

Tips : Identify ammo and weapon slots, vehicles and it's health etc...

Posted
I don't know what is MySQL :(

If it's like xml, then you can use it to save \ load data !

And you can register the saved items as a new element, and make new functions for it...

Tips : Identify ammo and weapon slots, vehicles and it's health etc...

mm good u use xml :P!.. i can use mysql too i think for save load data thx.. i will work on it.. i think mysql its better because you can manage mysql with the server and a web page with php.. so u can make a good connection on a webpage php + server mta :P

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...