View Single Post
Old 02.06.2009, 04:37   #8
FidoW
Guest
 
Posts: n/a
Default L2Extend Functions/Calls/Tokens/Questions

this needs 2 args:

typedef bool (__thiscall *_DIE) (CCreature *MySelf, CCreature *Enemy)


here you passed only 1:

Die(pTargetCreature);


even if its valid arg or not, its still just 1.


His new function only require 1 arg, inside the function as first arg of the function is sending the current ccreature since i guess Die is a CCreature function, isn't ?

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