gametip.showgametipWhen this command is executed, TIP will be sent to all players? How to send only to specified players?
gametip.showgametipWhen this command is executed, TIP will be sent to all players? How to send only to specified players?
It's a player console command, so you would just only send it to one player.
0x89A
这是一个玩家控制台命令,所以你只能把它发送给一个玩家。
Thanks man
0x89A
这是一个玩家控制台命令,所以你只能把它发送给一个玩家。
foreach (var basePlayer in BasePlayer.activePlayerList)
basePlayer.SendConsoleCommand("gametip.showgametip");You can get the player using the static methods in BasePlayer like "BasePlayer.Find".dreamforeach (var basePlayer in BasePlayer.activePlayerList) basePlayer.SendConsoleCommand("gametip.showgametip");
However, when I use it like this it will be sent to all players, how can it be sent to only one player?
0x89A
You can get the player using the static methods in BasePlayer like "BasePlayer.Find".
ok thx