Quote:
Originally Posted by Liberated
Okay so im working on a gunscript.
I need to figure out if the player is moving or standing still, to add a walking/idle gani to it, but i have no idea how to check it, also, the ganis don't seem to be working on this one, i haven't made any gani's myself yet, so i used those of a server, and i even uploaded them to testbed, but they still don't work.
i would've checked the wiki for the shoot command, but as we all know that's temporarily down.
I myself think i need a timeout function that will constantly check if the player is moving or standing still
|
You don't need to figure out if the player is walking or not, just use replaceani instead of setani.
PHP Code:
client.replaceani = {"idle", "gunidlegani"};
client.replaceani = {"walk", "gunwalkgani"};