Tag System
Data = {
Tags = {
["My cool jump tag"] = true,
["Your cool jump tag"] = true,
},
}local function MyCoolFunction(_, entity, data)
if data.Tags["My cool jump tag"] then
print("This jump had the \"My cool jump tag\" tag!")
end
end
mod:AddCallback(JumpLib.Callbacks.ENTITY_LAND, MyCoolFunction)local function MyCoolFunction(_, entity, data)
print("This jump had the \"My cool jump tag\" tag!")
end
mod:AddCallback(
JumpLib.Callbacks.ENTITY_LAND,
MyCoolFunction,
{
tag = "My cool jump tag"
}
)Last updated