thanks for your fast answer ! i try this example and its send the same variable to diffrent players (when just 1 player use args) if you can send work exemple I will thank you very much !!! . (sorry for my english...) PHP: case "welcome": $level= $this->getServer()->getLevelByName("world"); if(isset($args[0])){ $this->welcome[$array[$sender->getName()]] = new Position($args[0],$args[1],$args[2],$level); }else{ $this->getServer()->BroadCastMessage("".$this->welcome[$array[$sender->getName()]].""); } break;
What exactly is this code supposed to achieve? There isn't enough of it for support to be provided, post the whole class and more help could be provided.
this code is example for diffrent variable i didnt want to achive from this code anything (just example) anyway i tracked the problem the "$array" variable unnecessary