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


Author Topic: Faction  (Read 2777 times)

0 Members and 1 Guest are viewing this topic.

Offline Enderman

  • What i'm doing right now?
  • Full Member
  • ***
  • Posts: 293
  • Gender: Male
  • I'm no longer do mods for Bully ...
    • View Profile
    • bully-board.com
Faction
« on: November 05, 2014, 07:30:22 AM »
Can someone give respect and faction of the Jock throught lua please  :innocent:

Offline GreenOmnitrix

  • XFire: jedijosh920
  • Full Member
  • ***
  • Posts: 292
  • Gender: Male
  • 欺負改裝是真棒
    • View Profile
    • YouTube Channel
Re: Faction
« Reply #1 on: November 05, 2014, 10:51:02 AM »
PedSetFaction(gPlayer, 2)
This will set players faction into Jock.

PedSetTypeToTypeAttitude(2, 13, 4)
PedSetTypeToTypeAttitude(1, 13, 1)
PedSetTypeToTypeAttitude(3, 13, 1)
PedSetTypeToTypeAttitude(4, 13, 1)
PedSetTypeToTypeAttitude(5, 13, 1)
PedSetTypeToTypeAttitude(6, 13, 1)
PedSetTypeToTypeAttitude(5, 11, 1)
This will set all factions to hate the player except the Jocks.
« Last Edit: November 05, 2014, 11:20:22 AM by GreenOmnitrix »