__addshopitem

Junior Spellweaver
Joined
Dec 28, 2015
Messages
168
Reaction score
0
who has a source for this ? so i could add fast ites in npc and how to use this pls ? sorry im still a newbie more power to all of flyff Developers :D
 
After you have it in your source you go to character.inc and use codes like this:

AddShopItem( 1, II_SYS_TICKET_KEBARAS02 ); - that adds an azria ticket for instance. and just go to your propitem / spec item and get the item codes instead of II_SYS_TICKET_KEBARAS02 that you want to add
 
Another question how to put how much per items ? Sorry this is the sample code of boboku

mafl_boboko{
setting
{
addmenu( mmi_dialog );
addmenu( mmi_trade );
addvendoritem( 0, ik3_suit, 1, 15, 27, 25 );
addvendoritem( 0, ik3_helmet, 1, 15, 27, 25 );
addvendoritem( 0, ik3_gauntlet, 1, 15, 27, 25 );
addvendoritem( 0, ik3_boots, 1, 15, 27, 25 );
addvendoritem( 1, ik3_suit, 3, 15, 27, 25 );
addvendoritem( 1, ik3_helmet, 3, 15, 27, 25 );
addvendoritem( 1, ik3_gauntlet, 3, 15, 27, 25 );
addvendoritem( 1, ik3_boots, 3, 15, 27, 25 );
addvendoritem( 2, ik3_suit, 2, 15, 27, 25 );
addvendoritem( 2, ik3_helmet, 2, 15, 27, 25 );
addvendoritem( 2, ik3_gauntlet, 2, 15, 27, 25 );
addvendoritem( 2, ik3_boots, 2, 15, 27, 25 );
m_nstructure= srt_shield;
setimage
(
ids_character_inc_000026
);
m_szdialog= "mafl_boboko.txt";
}


setname
(
ids_character_inc_000027
);


addvendorslot( 0,
ids_character_inc_000028
);


addvendorslot( 1,
ids_character_inc_000029
);


addvendorslot( 2,
ids_character_inc_000030
);


addvendorslot( 3,
ids_character_inc_000031
);
}
 
Back