First off, i know this is very easy to make, but know one released it here yet, so i guess i will..
All you need to do is add one simple line for each guild and its good.
This helps so you dont need 1 npc for each and every individual guild.
Now i used Professor Foxwit, if you read the script it'll make more sense.
Haha
Very simple.Code:/* Gangstas Guild Hideout Warper */ /*Made by ShadowMS (Killshadow05) of Ragezone */ function start() { status = -1; action(1, 0, 0); } function action(mode, type, selection) { if (mode == -1) { cm.dispose(); } else { if (mode == 0) { cm.dispose(); } if (mode == 1) status++; else status--; if (status == 0) { cm.sendNext("Hello. I am in charge of Guild Hideouts.\r\nThe Hideout is a map that only your guild can go to.\r\nThis gives you a chance for Guild events and other specials that your leader has chosen.\r\n\r\nWould you like to go for a ride to your guilds Hide-Out?"); } else if (status == 1) { if (cm.getPlayer().getGuildId() == 55) { cm.warp(180000000, 0); cm.sendNext("Have fun in ------'s GM hideout!"); cm.dispose(); } else if (cm.getPlayer().getGuildId() == Guild ID) { cm.warp(MAP ID, 0); cm.sendNext("Have fun in NAMEHERE's hideout!"); cm.dispose(); } else { cm.sendNext("Sorry your either not in a guild, or your Guild leader has not sponsored a hideout. If you are in a guild, be sure to talk to your guild leader for more info."); cm.dispose(); } } } }
Now, to get GuildID, you just simply go into your MySQL Database, and under the guilds tab.
Look up the guild name you want, and beside it will be the guild id, and you just simply place it there.
Now, what makes this cool is you need 1 npc.
And the very simple script to show how to add more is by this.
Beneath This:
Add this, ones already put there for ya.Code:if (cm.getPlayer().getGuildId() == 55) { cm.warp(180000000, 0); cm.sendNext("Have fun in ------'s GM hideout!"); cm.dispose(); }
Now, dont forget to edit the GuildID, The Map ID, and the 'NAMEHERE' is the guild name.Code:else if (cm.getPlayer().getGuildId() == Guild ID) { cm.warp(MAP ID, 0); cm.sendNext("Have fun in NAMEHERE's hideout!"); cm.dispose(); }
Add one of those as much as you want, and you got yourself a succesful guild hideout.
~Little Tips~
Ok, and the maps i recommend, are Event maps.
Mainly 'The Town in the East' or something like that.
To search for good ones, usualy ust type in-game these commands,
!search North , !search South , !search East , !search West
And if u look under the maps, there should be those event maps.
Those are very good, and pretty small but not too small, for guild hideouts.
Hope this helped,
And dont forget to give credits for THIS Script to ShadowMS Staff..
Thanks
Credits:
ShadowMS Staff
Original person who thought of this idea.


Reply With Quote![[Release] 1-Npc Guild HideOuts](http://ragezone.com/hyper728.png)


