two teams at the same time?
#1

Hi there. I've made factions and jobs using gTeam.

So the problem here is that I can't manage to make the player able to have a job and be in a faction at the same time. This is because of course both the job and the team uses the same gTeam.

So my question is, what are the alternatives?

best regards
facepunch
Reply
#2

Creating another variable for jobs or factions separately.
Reply
#3

If you want the player to be in the faction, while being in a gang, then why use a single variable for a player's faction and job?
Reply
#4

The answer is quite simple, it's because the only experience I have with teams are with gTeams. But by all means, if you have anything that can help me learn how to create a new variable team, then i'd be more then happy to take it!
Reply
#5

Where you created "GTeams[MAX_PLAYERS];", just add below it "GJobs[MAX_PLAYERS];". Then replace the faction used Gteams to "GJobs[playerid];".
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)