Cheese Wow Cheese is so helpful!

Joined: Mar 18 2007 Posts: 1017 Offline
|
Posted: Thu Jan 15, 2009 7:29 pm Post subject: misc as3 stuff |
 |
|
|
|
3 questions:
ive gotten everything else working, but
mm->RegCallback(CB_CROWNCHANGE,CrownChange,ALLARENAS);
mm->RegCallback(CB_KOTH_START,KothStart,ALLARENAS);
mm->RegCallback(CB_KOTH_END,KothEnd,ALLARENAS);
mm->RegCallback(CB_KOTH_PLAYER_WIN,KothPlayerWin,ALLARENAS);
mm->RegCallback(CB_KOTH_PLAYER_WIN_END,KothPlayerWinEnd,ALLARENAS);
mm->RegCallback(CB_PLAYERDAMAGE,PlayerDamage,ALLARENAS);
|
all give undeclared compile errors...
also, in using
local void PlayerDamage(Arena *arena, Player *p, struct S2CWatchDamage *damage, int count)
|
i need to know how to use the S2CWatchDamage struct, and i get a
[Warning] "struct S2CWatchDamage" declared inside parameter list
[Warning] its scope is only this definition or declaration, which is probably not what you want
|
error
and in using
ml->SetTimer(periodicMessage,6000,12000,NULL,NULL);
|
i get a pointer type error
[Warning] passing arg 1 of pointer to function from incompatible pointer type
|
just wondering about this one...
so far ive gotten just about every callback working, and a whole bunch of other stuff...
ill release the mod/code later... _________________ SSC Distension Owner
SSCU Trench Wars Developer |
|