Follow us on
Follow us on Facebook Follow us on Twitter Watch us on YouTube


MMOCoin

Results 1 to 2 of 2
  1. #1
    Graphics Guru

    Join Date
    Feb 2009
    Posts
    1,377
    Rep Power
    24
    Reputation
    382

    Thumbs up Vip Area Only | Custom Script


    Register to remove this ad
    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. #2
    Premium

    Join Date
    May 2011
    Posts
    222
    Rep Power
    16
    Reputation
    100

    Register to remove this ad
    Excellant!

 

 

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
  •  
All times are GMT -5. The time now is 03:28 PM.
Powered by vBulletin® Copyright ©2000-2026, Jelsoft Enterprises Ltd.
vBulletin Licensed to: MMOPro.org
vBulletin Skin By: PurevB.com