Break San 3 Posted October 24, 2014 How do I drop skull with name in pvp and go straight to inventory ? Thank! Quote Share this post Link to post Share on other sites
0 Break San 3 Posted October 24, 2014 (edited) solved @edit pc.c { struct item item_tmp; memset(&item_tmp,0,sizeof(item_tmp)); item_tmp.nameid=ITEMID_SKULL_; item_tmp.identify=1; item_tmp.card[0]=CARD0_CREATE; item_tmp.card[1]=0; item_tmp.card[2]=GetWord(sd->status.char_id,0); // CharId item_tmp.card[3]=GetWord(sd->status.char_id,1); if (src && src->type == BL_PC) { struct map_session_data *killer = (struct map_session_data*)src; pc->additem(killer, &item_tmp,1, LOG_TYPE_SCRIPT);} } Edited October 24, 2014 by Salpetti Quote Share this post Link to post Share on other sites
How do I drop skull with name in pvp and go straight to inventory ?
Thank!
Share this post
Link to post
Share on other sites