Jump to content
  • 0

kick player when status > 99 in map


panza1001

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   0
  • Joined:  08/07/12
  • Last Seen:  

please help me  
i wanna make pvp room 
split status 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   13
  • Joined:  06/20/12
  • Last Seen:  

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
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   0
  • Joined:  08/07/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   13
  • Joined:  06/20/12
  • Last Seen:  

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 :}

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