Bully-Board
Bully Modding Section => Requests => Requests Archive => Topic started by: Enderman on October 15, 2014, 01:24:31 AM
-
Can someone give me Ped attack me or fight other peds plz :)
-
Can someone give me Ped attack me or fight other peds plz :)
what do you mean?
-
Can someone give me Ped attack me or fight other peds plz :)
what do you mean?
if you don't understand someone will understand
-
PedAttackPlayer(PEDNAME,Numb) - This is obviously for attacking the player only. Replace PEDNAME with the name you have given the ped for example :
Johnny = PedCreateXYZ(.....)
PedAttackPlayer(Johnny,Numb)
Replace numb with how agressive the attack is.
1 - Will attack you, but once distracted (for example attacked by another ped) he will attack the distraction.
2 - Will keep attacking you no matter what
3 - I remember there was a 3rd lvl, but I dont remember what it does.
PedAttack(PEDNAME,PEDNAME2,Numb)
The first PEDNAME is the ped you want to attack.
The second PEDNAME is the ped you want to be attacked.
-
Jesus thanks :P
-
No problem.
Im glad to help, I miss the days that there would be 10 lua questions a day.
i just love helping with LUA, but atm there are only skin questions.
Gl.
-
PedAttack(Ped1, Ped2, 1)
Ped1 - The attacking ped
Ped2 - The target ped
1 - Attacks the ped but will stop if attacked.
PedAttack(Ped1, gPlayer, 1) - Ped1 attacks player.
-
yeah thanks :jajaja: