04.04.2013, 12:31
Hello dear users!
I would like to present to you the dynamic system of inventory
Created 60 slots, 47 of them - under the gun
To add new items - add a line to your name in OnGameModeInit
In order to earn your items - edit function switchItem, and change the action in the dialog ID 22
All the items lying in the inventory - is stored in the directory inventory/%s.ini, where '%s' - the players nickname
Maximum slots for players involved - 20
The system has three features:
Screens:
Author of: Seregamil
I also want to thank Games & Alex009 for helps with dialogue
Link http://pastebin.com/V66B7ZL6
P.S. Sorry for my bad ENG lang)
I would like to present to you the dynamic system of inventory
Created 60 slots, 47 of them - under the gun
To add new items - add a line to your name in OnGameModeInit
In order to earn your items - edit function switchItem, and change the action in the dialog ID 22
All the items lying in the inventory - is stored in the directory inventory/%s.ini, where '%s' - the players nickname
Maximum slots for players involved - 20
The system has three features:
PHP Code:
use item
Send to another player
Discarded item
Author of: Seregamil
I also want to thank Games & Alex009 for helps with dialogue
Link http://pastebin.com/V66B7ZL6
P.S. Sorry for my bad ENG lang)