Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class "NoKnifeAnim"
- function NoKnifeAnim:__init()
- Events:Subscribe("Partition:ReadInstance", self, self.OnReadInstance)
- end
- function NoKnifeAnim:OnReadInstance(p_Instance, p_GUID)
- if p_Instance == nil then
- return
- end
- if p_Instance.typeName == "MeleeWeaponData" then
- local MeleeWeapon = MeleeWeaponData(p_Instance)
- MeleeWeapon.useCannedAnimation = false
- end
- end
- local noKnifeAnim = NoKnifeAnim()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement