Why a tutorial for this?
ClientSide:
Quite simply, just add another constant for the type (EX. item_add_str = 43)
Goto the item editor and add it in with the other constants in the combo box.
adjust the save/load accordingly.
ServerSide:
Re-add the constant for the type of whatever.
Goto the appropiate sub/function and add a good old 'if whatever(n).type = my_new_constant then' do whatever it should do here.
Theres a bunch more, thats the jist of it though.
Just follow an existing type, adding your own code after it.
Use the FIND function in VB if you must.
_________________ Look! I'm back!
Like all of you I have too much time on my hands :B
|