Jump to content
  • 0

Named slotted items?


Question

Posted

i want to make an npc that will give named swords[4] (id 1102), for example: if the char is named "char01" it will give "car01's sword".

if i use

getnameditem 1102,getcharid(0);

it give a "char01's sword" without slots.

so i used this:

getitem2 1102,1,1,0,0,255,0,getcharid(0)&0xffff,(getcharid(0)>>16)&0xffff;

same as getnameditem...

so i tryed this:

getitem2 1102,1,1,0,0,0,0,getcharid(0)&0xffff,(getcharid(0)>>16)&0xffff;

it give a non-named sword[4] with 2 empty slots and 2 slots with an apple inside...

so how to got a char01's sword[4] ?

4 answers to this question

Recommended Posts

Posted

i think this can only or might happen if you have somekind of custom mod in your src file...otherwise..this cant be happen through script.....

normally, a named items cant have any slot....

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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