17.06.2016, 00:04
Maybe i dont understand you correctly, but:
You can use ApplyAnimation to set the time how long the animation should take. And if you want to know how long a actual animation takes that the player is doing you maybe can work with GetPlayerAnimation and a 1ms second timer. But i think this wont work pretty well. Even if you test it on localhost with an blank script the server does have a ping which will brake this maybe. Even if it would work on your localhost server there could be problems beetwen the client / server on a "real" server.
You can use ApplyAnimation to set the time how long the animation should take. And if you want to know how long a actual animation takes that the player is doing you maybe can work with GetPlayerAnimation and a 1ms second timer. But i think this wont work pretty well. Even if you test it on localhost with an blank script the server does have a ping which will brake this maybe. Even if it would work on your localhost server there could be problems beetwen the client / server on a "real" server.