Closed haeiven closed 2 years ago
Should be added shortly, but this uses new function name if you don't mind with it.
Added PHX:TranslateName( number idTeam, player Ply )
exclusively for Team name translation.
The idTeam must contain number, and player entity. A player entity is only used on server side where you want to send the translation text through serverside to a client. This only works if you use something like PHX:ChatInfo or something. This isn't ideal if you use a hook like on Think or Tick on server side. You've been warned.
This feature will be added soon on master branch release of PH:X June update.
Extra:
Ply
argument as empty or nil if you use it on client side.
Hi,
It could be great to be able to rename Teams (display name), so it could be translated.