Thread: GUI Help
View Single Post
  #6  
Old 03-30-2011, 09:22 AM
MrOmega MrOmega is offline
One More Time
MrOmega's Avatar
Join Date: Aug 2010
Location: TN, USA
Posts: 631
MrOmega is an unknown quantity at this point
Send a message via AIM to MrOmega Send a message via MSN to MrOmega Send a message via Yahoo to MrOmega
Ah, look at your OnActionServerside

Also it should be player.nick = params[ 1];

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.

Eg
PHP Code:
triggerserver"gui"name"Foo""Bar"player.account); 
Then serverside do

PHP Code:
function onActionServerside()
{
  if (
params[0] == "Foo")
    
findplayerparams[2]).nick params[1]; 

__________________
Time is the fire in which we burn...
Up, Up, Down, Down, Left, Right, Left, Right, B, A, Select, Start! Now I got 99 LIVES!!!
Reply With Quote