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.