Factions
#3

A faction is not like a function, 1.2.3. done.. Factions are imaginative things, bound together by a number, some commands that only work if your player has a saved variable that binds them to the specific number, and a skin (most of the times).

So, the only advise that I have for you at this moment, is the following:
  • Save the faction number for a player in the player's savedata
  • Load the data into a variable when the player logs in
  • Make commands that only work if the faction variable of the player is the same as the faction number
I know this may seem unclear, but this is, in short, what factions, shop items and owned cars are all about; Variables that are linked throughout the script.
Reply


Messages In This Thread
Factions - by CallumDaBest - 05.02.2014, 17:23
Re: Factions - by DaniceMcHarley - 05.02.2014, 17:27
Re: Factions - by Jstylezzz - 05.02.2014, 17:28
Re: Factions - by DaniceMcHarley - 05.02.2014, 17:32

Forum Jump:


Users browsing this thread: 1 Guest(s)