Jump to content

ped spawning help.


damien111

Recommended Posts

Posted

So I been using the createPed but it does not seem to work. I want to know how to do this and how to set the weapons that they will fire at certain team only, also he doesny need to move, just spawn, get a m4 and open fire upon the team. Thanks. Also. SolidSnake check that post from yesterday, thanks.

Posted

I saw that, it is a lil much, but I guess it will do, I was wandering also if there was a way to do a table with functions. And have them randomly chosen?if so explain please

Posted
function test ( ) 
    outputChatBox ( "Test" ) 
end 
  
function test2 ( ) 
    outputChatBox ( "Test2" ) 
end 
  
functions = 
    { 
        test, 
        test2 
    } 
  
functions [ math.random ( #functions ) ] ( ) 

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