Thread: GUI Help
View Single Post
  #10  
Old 03-30-2011, 10:57 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Quote:
Originally Posted by MrOmega View Post
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.
Reply With Quote