Jump to content

Ped attack whit weapon 0


dugasz1

Recommended Posts

Posted

Hi!

I set my Ped in fire whit:

setPedControlState ( thePed, "fire", true ) 

He hit once and end. How can i loop it? (He hasn't got weapont only his fist, whit weapont its working)

Sorry for lot of questions and thanks for the answers! :)

Posted
Hi!

I set my Ped in fire whit:

setPedControlState ( thePed, "fire", true ) 

He hit once and end. How can i loop it? (He hasn't got weapont only his fist, whit weapont its working)

Use timers?

  
setTimer(setPedControlState, 1000, 0, thePed, "fire", true) 
  

Paid developer. Twitter: @willia_am -

http://www.williamdasilva.fr

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...