Jump to content
  • 0

Player Map Restriction


kaklase01

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  11/24/14
  • Last Seen:  

I like to restrict my players on a certain map...

Save point: quiz_02

Whitelist maps: guild_vs1, guild_vs2, guild_vs3, guild_vs4, guild_vs5

Blacklist maps: all ro maps

A player/party/guild can only be recall in the whitelist maps from the savepoint, otherwise they will instantly go back to their savepoint..

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.02
  • Content Count:  114
  • Reputation:   5
  • Joined:  07/16/16
  • Last Seen:  

OnPCLoadMapEvent:
if (strcharinfo(3) != "guild_vs1" || strcharinfo(3) != "guild_vs2" || strcharinfo(3) != "other_maps")
    {
      atcommand "@load";
      end;
     }

end;

But will work for all the time player loadmap. meaning teleport to a different map serverwide. Im sensing you need this for event? if that's the case this won't be usefull for you.. would need mor information.

  • Love 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  11/24/14
  • Last Seen:  

Thank you for this!

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.02
  • Content Count:  114
  • Reputation:   5
  • Joined:  07/16/16
  • Last Seen:  

I think you will need to check for the saving point map of the char, otherwise i think it will keep on a loop haha..

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