Hi! Are there any alternatives for these two parameters? I want to show what displayName does (steam name) and not the ID (16 characters) but with another parameter than displayName. It should be fairly obvious what im looking for, but I've been searching for a while now without luck.
example below
Code:rust.BroadcastChat(player.userID) rust.BroadcastChat(player.displayName)
Solved Alternative for userID and displayName
Discussion in 'Rust Development' started by Maloxan, Feb 10, 2017.
-
Wulf Community Admin
It's not at all obvious what you want. Why do you need alternatives to those if those are what you want?
-
Make sure to use the player's Steam ID when sending messages to a player, this will allow them to use their own language when available.
So when I want to send a message to the one user triggering the command, I should use the userID without showing it in chat? Or how does it work? -
Wulf Community Admin