[LUA]ply command for Steam Nickname

Hey, so I have this command:


RunConsoleCommand( "rp_setmoney,"" .. ply:SteamID() .. "20000000")

on the ply I want to change it to player’s steam nickname. I don’t know if its SteamNickname or Nickname or Nick…
What do I do?

Use the Nick() method to return the user’s in game nickname

RunConsoleCommand(“rp_setmoney”, ply:Nick(), “20000000”)

Google, trial and error normally a good combination for solving problems. Try looking for a solution by yourself first before ask for help, you will learn a lot more in the process.

I can’t test it because its VIP donations.