Code: $player->chat($hand->getName() && $hand->getCount()); when i typed in chat it always say 1 btw that is not full code i just wanna know what i did wrong (no error either)[/CODE]
well im trying to get item name and count and from the doing the research i may as well as just try it :/
0 and 1 0 stands for true, 1 for false Here's what I would do: PHP: $player->chat($hand->getName()." ".$hand->getCount());