May 10, 20169 yr 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?
May 10, 20169 yr Developer 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 a "Non-breaking" space instead of a normal space ^^
May 10, 20169 yr 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 May 10, 20169 yr by Explv
Create an account or sign in to comment