SA-MP Forums Archive
All skins using same running animation - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: All skins using same running animation (/showthread.php?tid=171216)



All skins using same running animation - Givens - 25.08.2010

On almost every server I play on, all skins RUN/WALK the same way, and the same speed. But, when I make my server, each skin has a different RUN/WALK animation/speed.
How can I fix this?


Re: All skins using same running animation - Nonameman - 25.08.2010

Under OnPlayerRequestClass() function, delete all the animations, then put the anim you want to use to the bottom of the function.

But if you give me the code, I fix it for you.


Re: All skins using same running animation - Givens - 25.08.2010

All that public OnPlayerConnect(playerid) has is..the Camera stuff.


Re: All skins using same running animation - Souvlaki - 25.08.2010

Put this:
pawn Код:
UsePlayerPedAnims();
in your your OnGameModeInit callback

pawn Код:
public OnGameModeInit()
{
    UsePlayerPedAnims();
    return 1;
}



AW: All skins using same running animation - TimmehBoy - 25.08.2010

UsePlayerPedAnims(); in OnGameModeInit()?...


Re: All skins using same running animation - Givens - 26.08.2010

Thank you very much, you have no idea how long I've been trying to figure this out.