SA-MP Forums Archive
Cleo Animations Detect. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Cleo Animations Detect. (/showthread.php?tid=607478)



Cleo Animations Detect[SOLVED] - ProRakNet - 20.05.2016

Cleo Animations Detect how do i identify


Re: Cleo Animations Detect. - denNorske - 20.05.2016

I don't know if there are any filterscripts for this, i suggest you to search for it before asking.

However, I made it my own way. You can use this:
https://sampwiki.blast.hk/wiki/GetPlayerAnimationIndex
And check in a timer if any player has animations applied, when they should not. Get their velocity, speed, acceleration, position and compare it to in which occasions they are normal.
Swimming animation are far from normal when you're 500 units above sea level, and moving faster than the swimming speed, right?

Good luck


Re: Cleo Animations Detect. - ProRakNet - 20.05.2016

Quote:
Originally Posted by denNorske
View Post
I don't know if there are any filterscripts for this, i suggest you to search for it before asking.

However, I made it my own way. You can use this:
https://sampwiki.blast.hk/wiki/GetPlayerAnimationIndex
And check in a timer if any player has animations applied, when they should not. Get their velocity, speed, acceleration, position and compare it to in which occasions they are normal.
Swimming animation are far from normal when you're 500 units above sea level, and moving faster than the swimming speed, right?

Good luck
thanks.


Re: Cleo Animations Detect. - BiosMarcel - 20.05.2016

never replace your posts with "SOLVED", only edit the title pls to "TITLE [SOLVED]"