I'm trying to change player's appearence(name/title) while on death match event but without luck.I changed getVisibleName method in PcAppearance like this
DISCORD :
https://discord.com/users/325653525793210378
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/uthciha-services
https://campsite.bio/utchihaamkt
Question
Virusgr
I'm trying to change player's appearence(name/title) while on death match event but without luck.I changed getVisibleName method in PcAppearance like this
public final String getVisibleName()
{
if( DMEvent.isPlayerParticipant(_owner.getObjectId()) && DMEvent.isStarted())
{
return "Player";
}
if (_visibleName == null)
{
_visibleName = getOwner().getName();
}
return _visibleName;
}
but when the event ends name "Player" and title "Death Match" remain and even stored at db.Any ideas?(I'm using freya)
3 answers to this question
Recommended Posts