> Functions
Returns the type of the chest entity, as one of the constants CHEST_WOOD (1), CHEST_IRON (2) or CHEST_DIAMOND (3).
If entity is not given, the type of the current entity is returned. The function returns -1 if the entity exists but is not a chest, and null if no entity has that id.
Example:
CHEST_WOOD, CHEST_IRON or CHEST_DIAMOND), -1 if the entity is not a chest, or null if the entity does not exist.Impossible de charger les données du jeu.
Vérifiez votre connexion et réessayez.