Animations
#1

I need to find the ID's of the Animations.
https://sampwiki.blast.hk/wiki/Animations

Swim_Breast it isn't an ID, i need ID!

Thanks helpers.
Reply
#2

I think you missed this part mate
"For a list of all animations ID's, check out the Array by OKStyle ([ACF]OKStyle) at the top of that wiki link"

No worries though!

All you should need is "ApplyAnimation(playerid, "SWIM", "Swim_Breast", 4.1, 0, 1, 1, 1, 1, 1);"

What do you need the ID for (I didn't even know there were numeric ID's lol)?

Or was that what you needed?
Reply
#3

You don't necessarily need the actual animation ID, you can just do something like what the guy above me posted as this is how this works.
Reply
#4

Quote:
Originally Posted by DanishHaq
Посмотреть сообщение
You don't necessarily need the actual animation ID, you can just do something like what the guy above me posted as this is how this works.
Quote:
Originally Posted by jakejohnsonusa
Посмотреть сообщение
I think you missed this part mate
"For a list of all animations ID's, check out the Array by OKStyle ([ACF]OKStyle) at the top of that wiki link"

No worries though!

All you should need is "ApplyAnimation(playerid, "SWIM", "Swim_Breast", 4.1, 0, 1, 1, 1, 1, 1);"

What do you need the ID for (I didn't even know there were numeric ID's lol)?

Or was that what you needed?
I want it to make an anti cheat. like if player isn't in water, and the animation is SWIMING animations, so he using Fly Hack.
There is isn't ID?
Reply
#5

You can use this include to check that he isn't swimming: http://forum.sa-mp.com/showthread.ph...PlayerSwimming, and if he's not swimming and he has that animation, then you can give an admin warning to him, which tells all the admins online x might be hacking. DO NOT set it to ban the player because if he's swimming at a higher position that the sea level (LV pirate ship), then he's not using hacks but it'll tell the admins only.
Reply
#6

Quote:
Originally Posted by DanishHaq
Посмотреть сообщение
You can use this include to check that he isn't swimming: http://forum.sa-mp.com/showthread.ph...PlayerSwimming, and if he's not swimming and he has that animation, then you can give an admin warning to him, which tells all the admins online x might be hacking. DO NOT set it to ban the player because if he's swimming at a higher position that the sea level (LV pirate ship), then he's not using hacks but it'll tell the admins only.
Thanks, it's work.
https://sampforum.blast.hk/showthread.php?tid=465104
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)