MMOCoin

Likes Likes:  0
Results 1 to 2 of 2

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Graphics Guru

    Join Date
    Feb 2009
    Posts
    1,377
    Post Thanks / Like
    Rep Power
    24
    Reputation
    382

    Thumbs up Vip Area Only | Custom Script

    Very simple but yet useful script to some users. This script will stop players from entering the per set area, and teleport them to anther place such as the main mall. I recently made this for someone on Skype, and thought I'd release it for fun.
    At the moment, the script is per set for stormwind but it can easily be edited.

    Go down the script until you find:
    Code:
    player->GetAreaId() == 1519
    and just change 1519 to whatever AreaId you want to be.

    You can change the location it teleports the player away on line 20 This is Map, X, Y, Z, O:

    Code:
    player->TeleportTo(0, -13328.414063f, 59.765587f, 24.107542f, 0.581469f);
    Script: https://gist.github.com/Ghostcrawler...5c02fc69cb6db5

    Don't know how to add c++ scripts into Trinity Click Here




    Credits

    Ghostcrawler336.
    Last edited by Wise; 26-11-13 at 12:03 PM.



  2. Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread

 

 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •