Jump to content
  • 0

kick player when status > 99 in map


Question

3 answers to this question

Recommended Posts

Posted

Put a loadevent flag on this map, and on label activation do something like:

OnLoadMapEvent:
If( readparam(bStr) > 99 || readparam(bAgi) > 99 ) { // Put other stats here, i'm lazy.
        warp "prontera",150,150; // warp from map
}

Posted

Put a loadevent flag on this map, and on label activation do something like:

OnLoadMapEvent:

If( readparam(bStr) > 99 || readparam(bAgi) > 99 ) { // Put other stats here, i'm lazy.

        warp "prontera",150,150; // warp from map

}

not work  /sob

Posted

Yeah, you shouldn't copy my code, it was just an example.

 

By the way, may mistake was the label name, it's actually OnPCLoadMapEvent.

 

Read script documentation and build your own script, this way you will learn :}

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