Jump to content
  • 0

Retrict player to join event


wut751

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  30
  • Reputation:   2
  • Joined:  07/17/17
  • Last Seen:  

could you please advice me how to restrict the player that not in transcendent class cannot join the event.

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  50
  • Topics Per Day:  0.02
  • Content Count:  763
  • Reputation:   227
  • Joined:  02/11/17
  • Last Seen:  

31 minutes ago, wut751 said:

could you please advice me how to restrict the player that not in transcendent class cannot join the event.

 

- script Rebirth -1,{

OnPCLoadMapEvent:
@eac = roclass(@eac|EAJL_UPPER);

if (@eac != -1) {
mes "[Event Manager]";
mes "Only transcendent classes can join the event.";
warp "SavePoint",0,0;
end;
}
end;
}
//Mapflags
prontera mapflag loadevent //your event map here

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  30
  • Reputation:   2
  • Joined:  07/17/17
  • Last Seen:  

15 hours ago, crazyarashi said:

- script Rebirth -1,{

OnPCLoadMapEvent:
@eac = roclass(@eac|EAJL_UPPER);

if (@eac != -1) {
mes "[Event Manager]";
mes "Only transcendent classes can join the event.";
warp "SavePoint",0,0;
end;
}
end;
}
//Mapflags
prontera mapflag loadevent //your event map here

 

Sir

where I will put this one on my script

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