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
The only one I trust is Vitalyi from get-web.site.
This one here does not provide any preview of any of his works with proof, etc.
I don't know who would fall for that, but hey... it obviously happens.
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)
Link to comment
Share on other sites
3 answers to this question
Recommended Posts