News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Author Topic: TrainingPlayer for freeroam  (Read 1926 times)

0 Members and 1 Guest are viewing this topic.

Offline givemeanumber

  • Newbie
  • *
  • Posts: 1
    • View Profile
TrainingPlayer for freeroam
« on: September 15, 2021, 07:20:38 PM »
 I'd like to request a mod which makes Jimmy's default fighting style TrainingPlayer.

Offline mhdt

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
Re: TrainingPlayer for freeroam
« Reply #1 on: September 17, 2021, 01:29:04 AM »
it seems have some problem while TrainingPlayer in freeroam,so the better way is
Code: [Select]
if PedIsPlaying(gplayer,"/Global/Player/Attacks/Strikes/LightAttacks",true) then
PedSetActionNode(gplayer,"/Global/TrainingPlayer/Attacks/Strikes/LightAttacks","act/anim/TrainingPlayer.act")

Offline hereareyou

  • Jr. Member
  • **
  • Posts: 16
    • View Profile
Re: TrainingPlayer for freeroam
« Reply #2 on: September 17, 2021, 08:34:04 AM »
it seems have some problem while TrainingPlayer in freeroam,so the better way is
Code: [Select]
if PedIsPlaying(gplayer,"/Global/Player/Attacks/Strikes/LightAttacks",true) then
PedSetActionNode(gplayer,"/Global/TrainingPlayer/Attacks/Strikes/LightAttacks","act/anim/TrainingPlayer.act")

What about doing it in ArcRace1? Does it work?