View Single Post
  #1  
Old 03-01-2011, 10:48 PM
callimuc callimuc is offline
ジ
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
changing player.nick, player.guild,..

Hey guys. I´m trying something which i might also post in code gallery if it´s finished . But currently i got a fail. I want like when I press the gui button, that it will change the player.guild,... but it wont work. Script here :

PHP Code:
function onActionServerSide() {
  if (
params[0] == "test") {
    
player.nick = login_nickname1.text;
    
player.guild = login_nickname2.text;
  }
}
//#CLIENTSIDE
//gui stuff
function button1.onAction() {
  
triggerserver("gui",this.name,"test");
} 
-callimuc
Reply With Quote