Jump to content

Group system error.


stefutz101

Recommended Posts

Posted

I just downloaded a uncompiled version .

And i have 2 questions:

1)Where i must look to see where are clans saved ?

http://prntscr.com/9dl7lq

2) Can i use these function to delete that green groups ?

--[[ 
addGang - Arguments: gangName, gangLeader. Returns: true or false. 
removeGang - Arguments: gangName. Returns: true or false. 
doesGangExists - Arguments: gangName. Returns: true or false. 
getGangList - Arguments: None. Returns: A table with gang list. 
getGangMembers - Arguments: gangName. Returns: A table with gang members. 
addGangMember - Arguments: gangName, accountName, addedBy. Returns: true or false (if false, it'll return a second argument with the error.). 
removeGangMember - Arguments: gangName, accountName, kickerName (if used it'll output who kicked the member, else it'll output that you left). 
isGangMember - Arguments: gangName, accountName. Returns: true or false. 
getAccountGang - Arguments: accountName. Returns: The gang name, 'None' otherwise. 
getGangLeader - Arguments: gangName. Returns: The gang leader. 
getGangSubLeaders - Arguments: gangName. Returns: A JSON string with gang sub leaders. 
isPlayerGangInvited - Arguments: thePlayer. Returns: 3 arguments: invited, gangName, inviter. 
getPlayersByGang - Arguments: gangName. Returns: A table with gang players. 
isGangSubLeader - Arguments: gangName, accountName. Returns: true or false. 
]] 

Like : removeGang("SRI") ? (watch first photo , in first post )

Thancks in advance !

Posted (edited)

1) Clans saves in registry.db from server/deathmatch/ , you will need something like this to open it

2) Technically if the functions works correct then yes.

removeGang("GangName")

Greetings.

Edited by Guest

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