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


Author Topic: Changing Faction Respect w/ Lua  (Read 10795 times)

0 Members and 3 Guests are viewing this topic.

Offline Red Blaster

  • The BB Arab
  • More Than Halfway There
  • *****
  • Posts: 5,649
  • Gender: Male
  • Hi
    • View Profile
Re: Changing Faction Respect w/ Lua
« Reply #15 on: May 13, 2013, 05:56:44 AM »
If that's the faction ID, then yes, that is correct.

Offline Mick3Mouse

  • Obam3mouse
  • Bullworth Junkie
  • ****
  • Posts: 4,343
  • Gender: Male
  • Major Mick3Mouse Algie Hunter
    • View Profile
    • My youtube
Re: Changing Faction Respect w/ Lua
« Reply #16 on: May 13, 2013, 08:01:05 AM »
:)

Offline Walter20210

  • Hero Member
  • ****
  • Posts: 1,102
  • Gender: Male
  • I keep loving the old things :P
    • View Profile
    • YouTube Account
Re: Changing Faction Respect w/ Lua
« Reply #17 on: May 13, 2013, 08:19:36 AM »
Put this

PedSetTypeToTypeAttitude(2, 0, 4)

Offline Mick3Mouse

  • Obam3mouse
  • Bullworth Junkie
  • ****
  • Posts: 4,343
  • Gender: Male
  • Major Mick3Mouse Algie Hunter
    • View Profile
    • My youtube
Re: Changing Faction Respect w/ Lua
« Reply #18 on: May 13, 2013, 10:42:23 AM »
Put this

PedSetTypeToTypeAttitude(2, 0, 4)

What will that code do?

Offline Walter20210

  • Hero Member
  • ****
  • Posts: 1,102
  • Gender: Male
  • I keep loving the old things :P
    • View Profile
    • YouTube Account
Re: Changing Faction Respect w/ Lua
« Reply #19 on: May 13, 2013, 10:48:35 AM »
It will make jocks abhor prefects

Offline Red Blaster

  • The BB Arab
  • More Than Halfway There
  • *****
  • Posts: 5,649
  • Gender: Male
  • Hi
    • View Profile
Re: Changing Faction Respect w/ Lua
« Reply #20 on: May 13, 2013, 01:29:00 PM »
Walter, 4 makes them adore the prefects. 0 is what makes them abhor them.

Offline Walter20210

  • Hero Member
  • ****
  • Posts: 1,102
  • Gender: Male
  • I keep loving the old things :P
    • View Profile
    • YouTube Account
Re: Changing Faction Respect w/ Lua
« Reply #21 on: May 13, 2013, 04:31:18 PM »
oh i didnt read fine xD

just change the 4 to 0

because the thing you put before was the prefects to jocks

Offline Red Blaster

  • The BB Arab
  • More Than Halfway There
  • *****
  • Posts: 5,649
  • Gender: Male
  • Hi
    • View Profile
Re: Changing Faction Respect w/ Lua
« Reply #22 on: May 14, 2013, 12:40:40 AM »
Wrong...the thing Mick3Mouse put was prefects to jocks. I corrected him.

Offline Mick3Mouse

  • Obam3mouse
  • Bullworth Junkie
  • ****
  • Posts: 4,343
  • Gender: Male
  • Major Mick3Mouse Algie Hunter
    • View Profile
    • My youtube
Re: Changing Faction Respect w/ Lua
« Reply #23 on: May 14, 2013, 04:05:58 AM »
So this code will make the prefects hate the jocks? 

PedSetTypeToTypeAttitude(2, 0, 4)

Offline Red Blaster

  • The BB Arab
  • More Than Halfway There
  • *****
  • Posts: 5,649
  • Gender: Male
  • Hi
    • View Profile
Re: Changing Faction Respect w/ Lua
« Reply #24 on: May 14, 2013, 05:34:15 AM »
No, I just told you.

PedSetTypeToTypeAttitude(2, 0, 0)

Offline Mick3Mouse

  • Obam3mouse
  • Bullworth Junkie
  • ****
  • Posts: 4,343
  • Gender: Male
  • Major Mick3Mouse Algie Hunter
    • View Profile
    • My youtube
Re: Changing Faction Respect w/ Lua
« Reply #25 on: May 14, 2013, 05:44:44 AM »
Okay, Thank you.

i wonder if the jocks will like hit them or just bully them. Intresting

Offline Walter20210

  • Hero Member
  • ****
  • Posts: 1,102
  • Gender: Male
  • I keep loving the old things :P
    • View Profile
    • YouTube Account
Re: Changing Faction Respect w/ Lua
« Reply #26 on: May 14, 2013, 08:18:36 AM »
Jocks id = 2
Prefects id = 0
« Last Edit: May 14, 2013, 03:57:16 PM by Walter20210 »