Liên kết người chơi tùy chỉnh

Thư viện STD
Phía máy chủ
Chỉ PC

Dynamically set the target that this player binds to that will override existing bindings. Returns false if failed.

Khai báo

func BindCustomPlayer(customPlayer entity<Entity>, player entity<Player>, out var isSuccess bool)
go

Tham số

Input

Tên Kiểu Mô tả
Người chơi tùy chỉnh Entity After binding this Custom Player to the player, data such as position and direction will be automatically synced
Người chơi Player Người chơi chỉ định

Ra ngoài

Tên Kiểu Mô tả
Bool \