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


Author Topic: Hits damage  (Read 2495 times)

0 Members and 1 Guest are viewing this topic.

Offline Arthur Marinho

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Hits damage
« on: June 24, 2013, 06:10:27 PM »
good night. So, i´ve been trying for a long time to change how much damage some people inflict with their moves, with no success. I wonder if anyone knows how to do that?

Offline c00ld0c26

  • The D0c
  • Can't Get Enough
  • *****
  • Posts: 5,137
  • Gender: Male
  • Just a dood doing dood things.
    • View Profile
    • My channel.
Re: Hits damage
« Reply #1 on: June 24, 2013, 07:52:33 PM »
This is the command :

PedSetDamageGivenMultiplier(ID, 2, 2.00)

The command will double the damage the Ped is doing.
Meaning if I have  : local Russell = nil
and I set the command to be like this : PedSetDamageGivenMultiplier(Russell, 2, 2.00)
Russell will do 2 times more damage.
Now ignore the 2.
Change only the 2.00 to make the damage higher or lower.

Offline Arthur Marinho

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: Hits damage
« Reply #2 on: June 24, 2013, 08:06:25 PM »
ok, but in which file should i put this?

Offline c00ld0c26

  • The D0c
  • Can't Get Enough
  • *****
  • Posts: 5,137
  • Gender: Male
  • Just a dood doing dood things.
    • View Profile
    • My channel.
Re: Hits damage
« Reply #3 on: June 24, 2013, 08:07:44 PM »
In your lua script.

Offline Arthur Marinho

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: Hits damage
« Reply #4 on: June 25, 2013, 12:56:35 PM »
ok, thanks