Jump to content
  • 0

Error Function cloaknpc


keoma

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   2
  • Joined:  08/24/17
  • Last Seen:  

Can anyone help me with this NPC?
it is giving this error in cloaknpc

I tried to add a function that I saw in rAthena but it gives an error and even stopped the npc

- What does this cloaknpc function mean?

 

function script cloaknpc { if(getargcount() > 2){ if(getarg(1)) cloakonnpc getarg(0),getarg(2); else cloakoffnpc getarg(0),getarg(2); } else { if(getarg(1)) cloakonnpc getarg(0); else cloakoffnpc getarg(0); }

randomopt02.png

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2346
  • Joined:  10/28/11
  • Last Seen:  

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   58
  • Joined:  07/11/14
  • Last Seen:  

check the functions TAB spaces in:

function	script	cloaknpc	{


 

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...