kangfredy Posted January 2, 2013 Group: Members Topic Count: 112 Topics Per Day: 0.02 Content Count: 388 Reputation: 4 Joined: 05/01/12 Last Seen: October 25, 2022 Share Posted January 2, 2013 guys i will ask about this.when i adding this. case CELL_CHKNOFVF: return (cell.nofvf); my compile result is 'CELL_CHKNOFVF' : undeclared identifier and case expression not constant how to declare this?and how to make case expression for constant? and then md = mob_once_spawn_sub(&sd->bl, m, x, y, str, class_, event); and my compile like this. "too few arguments for call" how to fix this? Quote Link to comment Share on other sites More sharing options...
michaelsoftman Posted January 2, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 410 Reputation: 29 Joined: 04/04/12 Last Seen: November 28, 2024 Share Posted January 2, 2013 mob_once_spawn_sub(struct block_list *bl, int16 m, int16 x, int16 y, const char *mobname, int class_, const char *event, unsigned int size, unsigned int ai) You're missing the Size and AI parameters at the end. But as for your first problem I have no idea. Quote Link to comment Share on other sites More sharing options...
Question
kangfredy
guys i will ask about this.when i adding this.
case CELL_CHKNOFVF:
return (cell.nofvf);
my compile result is 'CELL_CHKNOFVF' : undeclared identifier
and case expression not constant
how to declare this?and how to make case expression for constant?
and then
md = mob_once_spawn_sub(&sd->bl, m, x, y, str, class_, event);
and my compile like this.
"too few arguments for call"
how to fix this?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.