#Al-Ha[J]aRii Posted June 18, 2013 Share 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 ? Link to comment
PaiN^ Posted June 18, 2013 Share Posted June 18, 2013 Use onPlayerDamage to get the attacker, but i didn't understand what you want to happen after ! Link to comment
#Al-Ha[J]aRii Posted June 18, 2013 Author Share 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 ! Link to comment
PaiN^ Posted June 18, 2013 Share Posted June 18, 2013 Use : toggleControl - setPedControlState ( forwards ) - getElementPosition - getElementRotation - setElementPosition - setElementRotation Link to comment
#Al-Ha[J]aRii Posted June 18, 2013 Author Share Posted June 18, 2013 Use : toggleControl - setPedControlState ( forwards ) - getElementPosition - getElementRotation - setElementPosition - setElementRotation what the Parameters name for the player get attacked from attacker Link to comment
Castillo Posted June 18, 2013 Share Posted June 18, 2013 He'll also need either a timer or onClientPreRender to keep the ped in the right direction. Link to comment
#Al-Ha[J]aRii Posted June 18, 2013 Author Share 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 ? Link to comment
Castillo Posted June 18, 2013 Share Posted June 18, 2013 To get the right rotation from the player the ped has to follow, and to set it to the ped. Link to comment
#Al-Ha[J]aRii Posted June 18, 2013 Author Share 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 ? Link to comment
PaiN^ Posted June 18, 2013 Share Posted June 18, 2013 Use onPlayerDamage to get the attacker, ... Link to comment
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