Changing players' names in game? [DarkRP]

Darkrp is in the title incase there’s a built in feature (probs not)

But is there a way to forcefully change a players’ name in game since you know things like /rpname /name in Darkrp can change ppls names etc

Just wondering, cheers.

player:setDarkRPVar(“rpname”, “name”)

Unknown command “Player”

Where do I put this? Console?

I’ve tried RCON and ingame console as superadmin

oh my bad, thought i was in the developer section

rp_setname <player> <name>

might be what you want

Doesn’t seem to work. Perhaps it only works with rpname enabled? Mines disabled.