Factions problem - 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)
+--- Thread: Factions problem (
/showthread.php?tid=320409)
Factions problem -
Jermi - 22.02.2012
1. Hello Guys.
2. First thing i need to add a faction as
LSPD or
SASD in my script.
3. Do you have a link for that? or Show me with "PWN" here please or give me the FilterScript Link to download it
4. Thanks
.
Re: Factions problem - Guest9328472398472 - 22.02.2012
The cop system from
this script is a good way to start off with LE Faction(s).
Re: Factions problem -
Jermi - 22.02.2012
Brandon this is a Roleplay script not a faction FS and i cann't get out the faction FS from this script...
Re: Factions problem -
ReneG - 22.02.2012
Make your own faction with variables. It is not that complicated.
Re: Factions problem -
JhnzRep - 23.02.2012
Quote:
Originally Posted by ******
Use y_groups - even easier:
pawn Код:
new Group:groupLSPD, Group:groupSASD;
public OnGameModeInit() { groupLSPD = Group_Create("LSPD"); groupSASD = Group_Create("SASD"); }
Add/remove players using "Group_SetPlayer(group, player, set);". "set" as "true" to add, "false" to remove. The advantage of this is that y_groups is already fully integrated with y_commands and y_classes, so making faction commands and faction skins is trivial.
|
Wow, I didn't know yo had a function like this. One more thing that's getting me closer to moving to YCMDS.