SA-MP Forums Archive
Can you change the walking style for ONLY chosen skins? - 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: Can you change the walking style for ONLY chosen skins? (/showthread.php?tid=416415)



Can you change the walking style for ONLY chosen skins? - Don_Cage - 17.02.2013

Well the title says it all, my question is that if you can change the ONLY the walking style for the chosen skins and still keep CJ's running?


Re: Can you change the walking style for ONLY chosen skins? - Don_Cage - 17.02.2013

bump


Re: Can you change the walking style for ONLY chosen skins? - leong124 - 17.02.2013

No. I guess you want to use some pedestrian skins with a roller, but sorry, that's not possible.


Re: Can you change the walking style for ONLY chosen skins? - Don_Cage - 17.02.2013

Ok thank you.


Re: Can you change the walking style for ONLY chosen skins? - Don_Cage - 17.02.2013

Can you do it like this then, you make a command like example /walk and that will loop the walking animation, but If you are male, you walk like cj and if you are female you walk like a girl in singleplayer. is that possible?


Re: Can you change the walking style for ONLY chosen skins? - ZeroCools - 17.02.2013

I dont think you can do that ...


Re: Can you change the walking style for ONLY chosen skins? - Goldino - 17.02.2013

There is, add this to the end of OnGameModeInit

Код:
UsePlayerPedAnims();
Inside the callback


Re: Can you change the walking style for ONLY chosen skins? - DaRk_RaiN - 17.02.2013

http://forum.sa-mp.com/showthread.ph...hlight=walking


Re: Can you change the walking style for ONLY chosen skins? - Don_Cage - 17.02.2013

Quote:
Originally Posted by Goldino
Посмотреть сообщение
There is, add this to the end of OnGameModeInit

Код:
UsePlayerPedAnims();
Inside the callback
I allready have that one, Im wondering if there is a way to give the male skins CJ's running and walking style and the female skins Cj's running style but the female walking


Re: Can you change the walking style for ONLY chosen skins? - leong124 - 18.02.2013

Quote:
Originally Posted by Don_Cage
Посмотреть сообщение
I allready have that one, Im wondering if there is a way to give the male skins CJ's running and walking style and the female skins Cj's running style but the female walking
Yes it's possible as DaRk_RaiN said, it's justlike applying animation to NPCs (see something like RNPC) but sync is another potential problem.
The animation for the player needs to be preloaded, that is, if someone have never loaded the animation library that the applying animation uses, you have to apply the same animation twice with a timer, so that it can load the library and perform it. You may have a try though.