Jump to content
  • 0

NPC Check Invisible Player


Question

2 answers to this question

Recommended Posts

  • 1
Posted (edited)

I'd go with

if (checkoption(0x2|0x4|0x4000|0x40)) {
    mes "Please unhide yourself.";
    close;
}

Where
0x2 = OPTION_HIDE
0x4 = OPTION_CLOAK
0x40 = OPTION_INVISIBLE (GM hide and feint bomb)
0x4000 = OPTION_CHASEWALK

Edited by Tokei
  • Upvote 6
  • 0
Posted
14 minutes ago, paw said:

How to not let an invisible player talk to an NPC?

prontera.gat, 156, 180, 5    script    Detective    100,{
    if( getstatus(SC_HIDING) ) {
        mes "Please unhide your self.";
        close;
    }
    else {
        mes "How may i help you?";
        close;
    }
}

  • Upvote 1

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...