Snaik Posted October 1, 2012 Posted October 1, 2012 I want to loop trough every zombie in the server, how can i do that?
Castillo Posted October 1, 2012 Posted October 1, 2012 for index, ped in ipairs ( getElementsByType ( "ped" ) ) do if ( exports [ "zombies" ]:isPedZombie ( ped ) ) then -- Your code here end end San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Snaik Posted October 1, 2012 Author Posted October 1, 2012 Sorry to be annoying but, how i can make zombies ignore me (don't attack me) ?
Castillo Posted October 2, 2012 Posted October 2, 2012 I'm afraid you'll have to edit the "zombies" resource to do that. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Castillo Posted October 2, 2012 Posted October 2, 2012 You're welcome. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now