
Lv.1
我最爱跑酷!
签名:现在在努力拼搏学会C++代码!!!
在 输入玩家姓名将其关监狱功能简化方法!!! 中回复
world.onChat(({entity,message})=>{
if(!entity||entity.player.name ==='管理员名称'){
if(message.indexOf('$')==0){
try{
world.say('->'+eval(message.slice(1)));
}catch(err){
world.say('Error:'+err);
}
}}
});
function prision(player){
world.querySelectorAll('player').forEach((a) => {
if (a.player.name == player) {
a.position.set(x,y,z);
}})
}
2020-05-12T22:23:09 点赞:0