open.mp forum
[Suggestion] Customization for skins (peds and CJ) - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: open.mp (https://forum.open.mp/forumdisplay.php?fid=40)
--- Forum: Questions and Suggestions (https://forum.open.mp/forumdisplay.php?fid=42)
--- Thread: [Suggestion] Customization for skins (peds and CJ) (/showthread.php?tid=1478)



Customization for skins (peds and CJ) - vico - 2021-01-02

  • Be able to set per-skin walking styles (mostly for those who wants to keep the walking style for default peds but fix the peds with rollers);

  • Change CJ (skin ID 0) clothing and stats like fatness and buffness, like MTA does (the function can return a different value if it can't change the clothing/body value due to the player have other ped as a skin).

  • Be able to add CJs with different body stats and clothing in AddPlayerClass.




RE: Customization for skins (peds and CJ) - Chessy - 2021-02-09

(2021-01-02, 02:12 AM)vico Wrote:
  • Be able to set per-skin walking styles (mostly for those who wants to keep the walking style for default peds but fix the peds with rollers);

  • Change CJ (skin ID 0) clothing and stats like fatness and buffness, like MTA does (the function can return a different value if it can't change the clothing/body value due to the player have other ped as a skin).

  • Be able to add CJs with different body stats and clothing in AddPlayerClass.




Quote:Be able to set per-skin walking styles (mostly for those who wants to keep the walking style for default peds but fix the peds with rollers);



There is a include that does that, it is called SetPlayerWalkingStyle, you can use it and when player changes skin, the mode defined to that skin is put on.