logic help.. again ^_^ (Gangs)
#2

You can just have a file for a gang, (if these are permanent gangs).
Some servers don't store any gang data, they let the players deal with it, and just provide gang chat systems.

The only issue with permanant gangs is how do you control who creates them.

But lets saying you want to save gang data, just put a variable in players files like gang="gang name or id"

Then have a gang file. Then whenever a player joins check their gang and if needed load that gangs file.

if a player quits, well that shouldn't matter, but if it does you can just check if any existing gang members are still on, if not save or whatever.

You might want to save on a regular timer aswell.
Reply


Messages In This Thread
logic help.. again ^_^ (Gangs) - by aNdReSkKkK - 11.02.2010, 20:35
Re: logic help.. again ^_^ (Gangs) - by mansonh - 11.02.2010, 20:39
Re: logic help.. again ^_^ (Gangs) - by aNdReSkKkK - 11.02.2010, 20:41
Re: logic help.. again ^_^ (Gangs) - by mansonh - 12.02.2010, 03:40

Forum Jump:


Users browsing this thread: 1 Guest(s)