Bean666 Posted April 15, 2021 Posted April 15, 2021 Hi i changed my AK-47 accuracy, it works fine, however, whenever i'm attached to something EX: glue to a vehicle, it goes weird, it stops animation like every 3 secs. anyone know how to fix? maybe some properties can do the trick if element is attached, etc etc? if so what property?
Moderators Patrick Posted April 15, 2021 Moderators Posted April 15, 2021 Is it works fine if you don't modify weapon property?
Bean666 Posted April 15, 2021 Author Posted April 15, 2021 (edited) 1 hour ago, Patrick said: Is it works fine if you don't modify weapon property? yes. i tried on a vanilla weapon property. it works fine. at some times it works fine, but the one shown above also happens sometimes and once it happens, it never disappears even if players / you reconnect, not only for me but for other players. I don't have any other script that has weapon properties customized, I restarted server and it works fine now, idk what's causing it. Only solution for me when it happens is to restart the server. Could it be AK's getting affected by the anim loop stop? idk.. but i have the ID defined minigun on it. function onWeaponSystemStart() for _, skillname in ipairs({"poor", "std", "pro"}) do setWeaponProperty( 30, skillname, "accuracy", 1 ) setWeaponProperty( 38, skillname, "anim_loop_stop", 0.5 ) setWeaponProperty( 38, skillname, "anim2_loop_stop", 0.5 ) setWeaponProperty( 38, skillname, "damage", 40) end end addEventHandler("onResourceStart", resourceRoot, onWeaponSystemStart) Edited April 16, 2021 by Bean666
Moderators Patrick Posted April 16, 2021 Moderators Posted April 16, 2021 9 hours ago, Bean666 said: Could it be AK's getting affected by the anim loop stop? idk.. but i have the ID defined minigun on it. Maybeee, idk. I tried to reproduce what you did in the video, but I can't. Works fine for me. 1
Bean666 Posted April 16, 2021 Author Posted April 16, 2021 42 minutes ago, Patrick said: Maybeee, idk. I tried to reproduce what you did in the video, but I can't. Works fine for me. indeed, it's working fine now too, it seldomly happens. idk why, but now it's all good, i'll update if it ever happens again, might've been just an error. thanks!
Moderators Patrick Posted April 16, 2021 Moderators Posted April 16, 2021 7 minutes ago, Bean666 said: indeed, it's working fine now too, it seldomly happens. idk why, but now it's all good, i'll update if it ever happens again, might've been just an error. thanks! Wierd
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now