geting form on_player_placed_equipment to the entity
Posted: Fri Oct 07, 2016 12:16 pm
I'm making a mod that does burner equipment. for that I'm using the on_player_placed_equipment event to detect when ever a player puts one of my equipments in a grid. For the player I can get to his inventory by using the player_index and the global list of players. is there a way to get to the inventory of a car from what I get from that event? I'd like to not have to go over every car, tank and train to find out witch one it was put into.