1111
This commit is contained in:
19
Main.nut
19
Main.nut
@@ -1,6 +1,19 @@
|
||||
function sqr_main(){
|
||||
function sqr_main() {
|
||||
|
||||
|
||||
print("服务端插件启动");
|
||||
print("服务端插件启动");
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//玩家完成任务
|
||||
Cb_fnStatQuestClear_Enter_Func <- {};
|
||||
Cb_fnStatQuestClear_Leave_Func <- {};
|
||||
_Hook_Register_Currency_Func_("0x8664412", ["pointer", "int", "int"], Cb_fnStatQuestClear_Enter_Func, Cb_fnStatQuestClear_Leave_Func);
|
||||
|
||||
|
||||
Cb_fnStatQuestClear_Enter_Func.text <- function(args) {
|
||||
local user = User(args[0])
|
||||
print(args[1]);
|
||||
print(user.GetCharacName());
|
||||
};
|
||||
Reference in New Issue
Block a user