Snaik Posted October 1, 2012 Share Posted October 1, 2012 I want to loop trough every zombie in the server, how can i do that? Link to comment
Castillo Posted October 1, 2012 Share Posted October 1, 2012 for index, ped in ipairs ( getElementsByType ( "ped" ) ) do if ( exports [ "zombies" ]:isPedZombie ( ped ) ) then -- Your code here end end Link to comment
Snaik Posted October 1, 2012 Author Share Posted October 1, 2012 Sorry to be annoying but, how i can make zombies ignore me (don't attack me) ? Link to comment
Castillo Posted October 2, 2012 Share Posted October 2, 2012 I'm afraid you'll have to edit the "zombies" resource to do that. Link to comment
Snaik Posted October 2, 2012 Author Share Posted October 2, 2012 Thanks for the great help man! Link to comment
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