Jump to content
  • 0

ask to adding source.


kangfredy

Question


  • Group:  Members
  • Topic Count:  112
  • Topics Per Day:  0.03
  • Content Count:  388
  • Reputation:   4
  • Joined:  05/01/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  410
  • Reputation:   29
  • Joined:  04/04/12
  • Last Seen:  

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...