View Single Post
Old 02.06.2009, 05:51   #10
FidoW
Guest
 
Posts: n/a
Default L2Extend Functions/Calls/Tokens/Questions

liek u can see at the definition it requires 2, he passed 1, it should be liek source->die(target);

Again, he create their own function, that call the l2server original one, as first parameter send the object itself as it is already a CCreature, the second one is passed in the first param of his new and custom function.

pTargetCreature->Die(pTargetCreature); seemed to have worked but if it is used to kill an NPC/mob then the corpse of the mob never disapears. The body is left on the ground forever. How can I fix this.

He is doing it ok as far as he is do something like he wrote, always sendind one arg to the function plus the object itself.

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-02-2009, 05:51 AM. Открыть источник.