Jump to content

TASK_PUT_PED_DIRECTLY_INTO_COVER


Blabla456789

Recommended Posts

Anyone who knows what this native does and how to use it? I do some try but ped is like to freeze for some sec the return to his tasks.

Thanks in advice

Link to comment
Share on other sites

  • 3 weeks later...

I assume that the ped also will need to be next to a place they can take cover to. 

void TASK_PUT_PED_DIRECTLY_INTO_COVER(Ped ped, float x, float y, float z, Any timeout, BOOL p5, float p6, BOOL p7, BOOL p8, Any p9, BOOL p10);

The parameters don't seem to be documented. I assume the timeout is how long the ped keeps trying to take cover before giving up. I guess the only thing you can do is mess around with the unnamed parameters and figure out what they do to get it to work. 

Link to comment
Share on other sites

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
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.