Hey, im just wondering how to add many IDs of items (in players hand) in statement... PHP: if($player->getItemInHand()->getId() == 257){ When player holds one of (for example) 5 items, something happens...
Finally some answer... I've beed using that, but it didnt work... I could have done some mistakes... Can you please write how should it look like? For example of IDs like 278, 279, 297...
if ($id == 278 OR $id==279 OR $id = 280){ you are recommended to check out php.net about these basic things...