08.04.2014, 15:25
Hello, SA-MP community.
I'm planning on making a inventory system, due textdraws.
My question is, how do I start?
I've made an inventory textdraw 2 days ago.
(Dont mind vehicle keys etc, just typed that to check the lenght of a textdraw string without getting out the borders).
I want to make a inventory system that works as this:
Player: /i use 15 (He will use Inventory slot 15, inventory slot 15 can be everything, a wirecutter, screwdriver etc)
Example
Slot 15 is a screwdriver, when typing /i use 15 he will equip the screwdriver, (will use it for car jacker & mechanic job ).
You can do /i move either, when typing /i move 15 16, it will move the item in slot 15 to slot 16.
.
Now, I've 120 items to be scripted.
So it would be usefull to create call backs & stocks for it.
But.. I dont have any idea how to start on it.
I would really appreciate it fi someone helps me out.
Kind regards, VerticalGaming.
I'm planning on making a inventory system, due textdraws.
My question is, how do I start?
I've made an inventory textdraw 2 days ago.
(Dont mind vehicle keys etc, just typed that to check the lenght of a textdraw string without getting out the borders).
I want to make a inventory system that works as this:
Player: /i use 15 (He will use Inventory slot 15, inventory slot 15 can be everything, a wirecutter, screwdriver etc)
Example
Slot 15 is a screwdriver, when typing /i use 15 he will equip the screwdriver, (will use it for car jacker & mechanic job ).
You can do /i move either, when typing /i move 15 16, it will move the item in slot 15 to slot 16.
.
Now, I've 120 items to be scripted.
So it would be usefull to create call backs & stocks for it.
But.. I dont have any idea how to start on it.
I would really appreciate it fi someone helps me out.
Kind regards, VerticalGaming.