Jump to content

How to get player's username out of IsoPlayer?


Razer

Recommended Posts

I'm new to modding. I'm trying to get the specific player's IsoPlayer by the author name of a chat message.

For now, the only way I think up is to compare the author name with all player's username.

Is there better method?

 

Edit: Seems like I was referencing old javadoc... There is actually getUserName() in the new version.

By the way, I haven't got a idea how to create a sound on the world space with lua code. I'm figuring it out.

Edited by Razer
update
Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...