TIP will be sent to all players?
gametip.showgametip

When 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.

wXLxOgFUEnSjh1r.png0x89A

这是一个玩家控制台命令,所以你只能把它发送给一个玩家。

Thanks man

wXLxOgFUEnSjh1r.png0x89A

这是一个玩家控制台命令,所以你只能把它发送给一个玩家。

foreach (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?
dream
foreach (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?
You can get the player using the static methods in BasePlayer like "BasePlayer.Find".
wXLxOgFUEnSjh1r.png 0x89A
You can get the player using the static methods in BasePlayer like "BasePlayer.Find".

 

ok thx