Jump to content

Questions about peds :D


capitanazop

Recommended Posts

hi i have a question about the peds.

1:is possible give weapons to peds? how?.

2:is posible to make peds follow a player how?

3:is posible to make peds target a player and shot? how?

4:is posible to make peds him can copy yours movements? how?

i dont wanna a codes only needs the functions :)

bye and sorry for my english

Link to comment

1,2,4 - YES

Ad1: Server side

         
        local x, y, z = getElementPosition(source) 
        local lolz = math.random( 22, 138 ) --//-- skin ID 
        ped = createPed( lolz, x +1, y, z +1) 
        setTimer( giveWeapon,1000,1, ped, 31, 100, true ) 

Link to comment

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...