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


Author Topic: Factions  (Read 2044 times)

0 Members and 1 Guest are viewing this topic.

Offline UltimateGamer9

  • Full Member
  • ***
  • Posts: 190
  • Gender: Male
    • View Profile
Factions
« on: August 11, 2015, 09:52:01 PM »
Whenever I set PedSetFaction(gPlayer,6) and then later PedSetFaction(gPlayer,13) and it just doesn't look like he's in player 1 faction. Why?

Offline Shrimp

  • Sr. Member
  • ***
  • Posts: 514
  • Gender: Male
  • your official b-b's chav. wag wan.
    • View Profile
Re: Factions
« Reply #1 on: August 11, 2015, 10:09:50 PM »
13 is the Bullies faction... If am right, the correct faction is 15 for Player1.

Offline UltimateGamer9

  • Full Member
  • ***
  • Posts: 190
  • Gender: Male
    • View Profile
Re: Factions
« Reply #2 on: August 11, 2015, 10:21:14 PM »
13 is the Bullies faction... If am right, the correct faction is 15 for Player1.
But I think Bullies is 11.

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: Factions
« Reply #3 on: August 11, 2015, 10:29:40 PM »
I've heard faction switching has some problems with the player.

Offline Shrimp

  • Sr. Member
  • ***
  • Posts: 514
  • Gender: Male
  • your official b-b's chav. wag wan.
    • View Profile
Re: Factions
« Reply #4 on: August 11, 2015, 10:38:55 PM »
I've heard faction switching has some problems with the player.

It doesn't really, it work's I guess but the faction you switch don't really help you or interact with you if am right, and other factions are just average and shit.

Jock's faction fixe's the stance? :D

Offline AlphaTech

  • LostInSpace
  • Sr. Member
  • ***
  • Posts: 758
  • Gender: Male
  • The name's AlphaTECH, whatca need help with?! :)
    • View Profile
Re: Factions
« Reply #5 on: August 12, 2015, 12:04:19 AM »
You can't set the faction's for the player twice, PedSetFaction(Player2,15)

PedGuardPed(Player2,Gplayer)

To make ped's guard you, you have to set the ped's focus without the ped being a bodyguard or ally. Just spawn the health bar and Allyblip then that ped will react like a BodyGuard but you will be able to set functions for that ped without interruption.

Learned this from Busting In Part 1 it is similiar to how they make Zoe appear to be a bodyguard but she is just a normal free roam ped set to be a bodyguard. I managed to get the bodyguard's for the Zombie Mod to work in a similiar way.