Jump to content

Recommended Posts

Hi,

 

Are there any scripts out there that show a list of current gangs and there members. Or any idea how i'd go about it. I know how i'd recall it from the DB but not too sure how to do the GUI etc.

 

Thanks in advance.

Share this post


Link to post
Share on other sites

Like zombie said, they are just normal groups. So to get a list of all the civilain ones you can do something like:

_gangs = [];

{If (side _x == civilian) then { if (isPlayer (leader _x)) then {_gangs pushBack _x}}}forEach allGroups;

Untested.

This should return an array of all civilain player groups.

Edited by KillerAussie

Share this post


Link to post
Share on other sites

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

×