Jump to content

setTimer and createPed


swag_k_dog

Recommended Posts

Posted
2 minutes ago, FaHaD said:

This will create a ped after 10 seconds 

replace id,x,y,z with yours

 


setTimer ( createPed,10000,1,id,x,y,z )

 

how do I give a name to my ped?

Posted
Just now, swag_k_dog said:

how do I give a name to my ped?

 

setTimer (
    function (  )
        ped = createPed( int modelid, float x, float y, float z [, float rot = 0.0, bool synced = true ] )
    end,10000,1
)

 

  • Like 1

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