Guys, I need help on this one why its not working ? hmmm map name announcer .. im new here in herc thankyou
- script map_name -1,{
OnInit:
setarray .Map$[0], // <mapname>,<MapNick>,
"prontera","Prontera City, The Imperial Capital",
"morocc","Morroc Town, The Frontier",
"geffen","Geffen, The City of Magic",
"payon","Payon Town, The Upland Village",
"alberta","Alberta, The Port City",
"izlude","Izlude Town, The Satellite City of Prontera",
"aldebaran","Al De Baran, The Gate to the New World",
"xmas","Lutie, The City of Eternal Christmas",
"comodo","Comodo, The City of Fun and Celebrations",
"yuno","Juno, The Capital of the Commonwealth and Ancient Lore",
"amatsu","Amatsu, The New Land Discovered",
"gonryun","Gonryun, The Hermit Land",
"umbala","Umbala, The Lost Land",
"niflheim","Niffleheim, The Cold Land of Death",
"louyang","Louyang, The Fortress of Dragon",
"new_1-1","Training Ground",
"sec_pri","Valhalla Prison",
"jawaii","Jawaii, The Island of Love",
"ayothaya","Ayothaya, The Land of Majectic Culture",
"einbroch","Einbroch, The Steel City",
"lighthalzen","Lighthalzen, The City of Scientific Myths",
"einbech","Einbech, The Mining Town",
"hugel","Hugel, Between the Icy Moutain and Chilly Blue Sea",
"rachel","Rachel, The Capital City of Arunafeltz",
"veins","Veins, The Canyon Village",
"mid_camp","Rune Midgard Allied Forces Post";
for( set .i,0; .i < getarraysize( .Map$[ .i ] ) - 1; set .i,.i + 2 )
setmapflag .Map$[.i],mf_loadevent;
end;
OnPCLoadMapEvent:
for( set .i,0; .i < getarraysize( .Map$[ .i ] ) - 1; set .i,.i + 2 )
if( strcharinfo(3) == .Map$[.i] )
announce ""+.Map$[.i+1]+"",bc_self;
end;
}
Guys, I need help on this one why its not working ? hmmm map name announcer .. im new here in herc thankyou
Share this post
Link to post
Share on other sites