#Al-Ha[J]aRii Posted June 18, 2013 Posted June 18, 2013 hi guys what would I wil use for when player attack player take the player get attack follow the player attack him ?
PaiN^ Posted June 18, 2013 Posted June 18, 2013 Use onPlayerDamage to get the attacker, but i didn't understand what you want to happen after !
#Al-Ha[J]aRii Posted June 18, 2013 Author Posted June 18, 2013 Use onPlayerDamage to get the attacker, but i didn't understand what you want to happen after ! I know onPlayerDamage but I said want when player attack player like jail system take the player get attacked follow the player attack him !
PaiN^ Posted June 18, 2013 Posted June 18, 2013 Use : toggleControl - setPedControlState ( forwards ) - getElementPosition - getElementRotation - setElementPosition - setElementRotation
#Al-Ha[J]aRii Posted June 18, 2013 Author Posted June 18, 2013 Use : toggleControl - setPedControlState ( forwards ) - getElementPosition - getElementRotation - setElementPosition - setElementRotation what the Parameters name for the player get attacked from attacker
Castillo Posted June 18, 2013 Posted June 18, 2013 He'll also need either a timer or onClientPreRender to keep the ped in the right direction.
#Al-Ha[J]aRii Posted June 18, 2013 Author Posted June 18, 2013 He'll also need either a timer or onClientPreRender to keep the ped in the right direction. onClientPreRender for what function ?
Castillo Posted June 18, 2013 Posted June 18, 2013 To get the right rotation from the player the ped has to follow, and to set it to the ped.
#Al-Ha[J]aRii Posted June 18, 2013 Author Posted June 18, 2013 To get the right rotation from the player the ped has to follow, and to set it to the ped. I want know how I wil get the ped get attacked is there Parameters ?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now