Hello, I have problem again
I'm doing function which this function will call from item.
1234,ITEM,...... { callfunc "Hello"; }
So that function have menu shop, It's will call shop before select menu already.
And problem is I'm add OnBuyItem event in function but Map-Server noticed error.
[Error]: npc_event: event not found [FAKE_NPC::OnBuyItem]
How to do that? or Who have idea about call npc from item?
Thank You.
Oh, Forget
this some part of my function
mes "x";
callshop "x",1;
npcshopattach "x";
close;
I'll want the player buy item and before that goto on OnBuyItem event.