Factions - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Factions (
/showthread.php?tid=181922)
Factions -
Anthonyx3' - 08.10.2010
Hey guys, could someone make me a basic basic tut on making factions? I was going to use teams but i think factions are better. Thanks in advance
Re: Factions -
Matthew_Johnston - 08.10.2010
Dude, Teams are Pretty Good. I use Them, They Work VERY Well. VERY Well indeed, Especially as You Can Restrict Commands to them
You can Do that With factions, but its Very Complicated.
In my Opinion, Dont Down Teams, There Too easy and Good to Not use
Re: Factions -
Leeroy. - 08.10.2010
Learn dini or check any GodFather edit
Re: Factions -
LarzI - 08.10.2010
The differences between teams and factions (imo) is that teams are a group of people working together, and a faction is a group of people..
1. Make teams.
2. Call them factions
3. Profit.
Re: Factions -
Lenny the Cup - 08.10.2010
pawn Код:
enum E_FactionInfo
{
id,
rest,
of,
your,
stuff;
}
new FactionInfo[MAX_PLAYERS][E_FactionInfo];
and inside the command:
pawn Код:
if(FactionInfo[playerid][id] != 1)
return SendClientMessage(playerid, color, "You are not in the required faction");
Didn't use indentation, no editor open
Re: Factions -
Voldemort - 08.10.2010
You can all a couple of player as you wish, Team, Faction, Organisation it still will be a "variable" who check who have same "variable", and so script can know who can use some cmd etc.