HUNGRY:3 Posted September 18, 2015 Posted September 18, 2015 hello i want to make gang system but idk how to make all gangs visible in the grid list and how to get all players in the gang if they are offline ! just give me example thanks.
pa3ck Posted September 18, 2015 Posted September 18, 2015 Store the gang members in sql so even if they are offline their details will be available in the database.
HUNGRY:3 Posted September 18, 2015 Author Posted September 18, 2015 Store the gang members in sql so even if they are offline their details will be available in the database. and how to get all of the gangs in grid list?
JR10 Posted September 18, 2015 Posted September 18, 2015 Depends on how you're saving players' data. If you're using the default account system, then loop through all the accounts and check for account data. If MySQL, use a query to get the accounts with the gang == your gang.
HUNGRY:3 Posted September 18, 2015 Author Posted September 18, 2015 Depends on how you're saving players' data. If you're using the default account system, then loop through all the accounts and check for account data. If MySQL, use a query to get the accounts with the gang == your gang. Oh yeah thanks man!
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