Jump to content
  • 0
kaklase01

Player Map Restriction

Question

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

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

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.