Jump to content

Sample ped


AdilNawaz2018

Recommended Posts

On 29/11/2018 at 15:30, AdilNawaz2018 said:

I'm looking for a simple resource , in which there is a ped and have gun. And I'm able to set his target. does anyone knows how to do it?

 

local pedName = createPed(id,x,y,z,0) --CreatePed

givePedWeapon(pedName, 31, 500, true)  -- Gives M4 weapon with 500 ammo to the Ped

 

Edited by Aln3mani
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...