就是服務(wù)器開啟,然后玩家進(jìn)入游戲會在一個特定的地圖,設(shè)定的開服時間未到無法離開的腳本!感覺很多人應(yīng)該用的到!
mapinfo.txt內(nèi)加入這行內(nèi)容
- [0139~22 開區(qū)等待間 0] SAFE NORECALL NORANDOMMOVE NODRUG BLACKROOM
復(fù)制代碼
LogonQuest.pas內(nèi)加入這行內(nèi)容
- 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代表開區(qū)的整點,GetDay代表開區(qū)是幾號,改這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點正式開區(qū),屆時你才可以離開等待間。 \' +
- '|{cmd}<我要出去/@letgo>\');
- end.
復(fù)制代碼