[筆記]OnPCLoadMapEvent的使用
原文說明This special label will trigger once a player steps in a map marked with the
'loadevent' mapflag and attach its RID. The fact that this label requires a
mapflag for it to work is because, otherwise, it'd be server-wide and trigger
everytime a player would change maps. Imagine the server load with 1,000 players
(oh the pain...)
功能說明
當玩家進入特定地圖時候, 自動執行本標籤
範例OnPCLoadMapEvent:
getmapxy(.@m$,.@x,.@y,0);
if(.@m$=="prontera"){
mes "歡迎光臨普德隆拉";
close;
}
end;注意
該地圖必須有loadevent這mapflagprontera mapflag loadevent
頁:
[1]