function newLevel() {
var pName = Player.getName(getPlayerEnt());
clientMessage("Welcome " + pName);
}
When i test it on BlockLauncher 1.6.4 and enter on a world it says "Welcome null" and should say "Welcome RayZtar"(my name) which is the problem
Hope someone can help me
function newLevel() { var pName = Player.getName(getPlayerEnt()); clientMessage("Welcome " + pName); }When i test it on BlockLauncher 1.6.4 and enter on a world it says "Welcome null" and should say "Welcome RayZtar"(my name) which is the problem
Hope someone can help me
Bye
~RayZtar~
Want GUI Templates? Done!
https://github.com/BeATz-UnKNoWN/ModPE_Scripts/wiki/ModPE-Script-Templates
P.S. Feel free to follow me so you know when I post "awesome" content and make the MCForums a brighter place (totally).
If you need to contact me you can either shoot a Kik message to beatz_unknown or send an email to [email protected]
var pushed = false; function modTick(){ if(!pushed){ clientMessage("Welcome " + Player.getName(Player.getEntity())); pushed = true; } }clientMessage("Welcome"+Player.getName(getPlayerEnt()));
}