Hello, I'm new at modding and new at this forum and I've been trying to study Java and C++ for the last month and I know the basics of it (very VERY basic).
Anyways I'm trying out and testing various Mod PE commands and I've hit a bump. I can't seem to figure out how to use [ function entityRemovedHook...]
Commands. I've studied Connors git hub page and reviewed it but it must be out dated or I've made a silly mistake.
//Narration's
function entityRemovedHook(entity) {
if (Entity.getEntityTypeId(entity) == 332) {
clientMessage("A snowball was thrown and has now broke.");
}
}
Hello, I'm new at modding and new at this forum and I've been trying to study Java and C++ for the last month and I know the basics of it (very VERY basic).
Anyways I'm trying out and testing various Mod PE commands and I've hit a bump. I can't seem to figure out how to use [ function entityRemovedHook...]
Commands. I've studied Connors git hub page and reviewed it but it must be out dated or I've made a silly mistake.
//Narration's
function entityRemovedHook(entity) {
if (Entity.getEntityTypeId(entity) == 332) {
clientMessage("A snowball was thrown and has now broke.");
}
}