Quote:
Originally Posted by MrOmega
Another thing, your way may work but I usually send the the players account in a param and then reference it to that to change player vars. More thurough I suppose.
|
Completely unnecessary as the only thing is does it bloat the trigger up. On actionServerSide() will always reference the player who called it. Please don't teach anyone this habit
Also,
PHP Code:
function Name_TextEdit1.onAction()
player.nick = Name_TextEdit1.text;
Should work but make sure you don't write that function inside another function.