就是服务器开启,然后玩家进入游戏会在一个特定的地图,设定的开服时间未到无法离开的脚本,感觉很多人应该用的到
mapinfo.txt内加入这行内容
[0139~22 开区等待间 0] SAFE NORECALL NORANDOMMOVE NODRUG BLACKROOM
LogonQuest.pas内加入这行内容
if (GetMonth = 5) and (GetDay = 1) and (GetHour < 1) and (This_Player.MapName <> '0139~22')then This_Player.RandomFlyTo('0139~22');}program mir2;procedure _letgo;var i: integer;begin if (GetHour >= 1) or (GetDay <> 1) then //GetHour代表开区的整点,GetDay代表开区是几号,改这2个就可以了。 begin i := Random(1); if i = 1 then This_Player.Flyto('0', 650, 626) else This_Player.Flyto('0', 290, 617); end else This_Player.PlayerNotice('必须到1点才可以离开!', 0);end;begin This_NPC.NpcDialog(This_Player, '墨鱼传奇于1号1点正式开区,届时你才可以离开等待间。\ \' + '|{cmd}<我要出去/@letgo>\');end.
原文链接:https://www.gmduo.com/234.html,转载请注明出处~~~
评论0