Jump to content

Players


Recommended Posts

Posted (edited)

trying to make a muling script and for some reason it cant find the player with a name like "Bla Bla" (with spaces) but it will find the player with a name like "BlaBla" (without spaces) , anyone know how to fix this?

 

Runescape uses non breaking spaces, so you need to replace them:

player.getName().replace('\u00A0', ' ');
Edited by Explv
  • Like 3

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...