SA-MP Forums Archive
how to set player walking style? - 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: how to set player walking style? (/showthread.php?tid=342958)



how to set player walking style? - N0FeaR - 15.05.2012

i want to make a system allows players registered, they can set the walking style.

how to set player walking style? it is use what Scripting Functions?


Re: how to set player walking style? - FalconX - 15.05.2012

There are two ways, one is that you can set in your GameModeInit:-

pawn Код:
UsePlayerPedAnims(); // in GameModeInit
And now the second way to do is you can use Animations for the player to make them walk/run your way:-

Example:-
pawn Код:
ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1,1);
Some of the walk animation names:

1) WALK_civi
2) WALK_drunk
3) WALK_fat
4) WALK_gang1

and so on so forth.

Animation List: https://sampwiki.blast.hk/wiki/Animations
ApplyAnimation: https://sampwiki.blast.hk/wiki/ApplyAnimation

-FalconX


Re: how to set player walking style? - N0FeaR - 15.05.2012

So there is no fs That someone has done.