SA-MP Forums Archive
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)
+--- Thread: Factions (/showthread.php?tid=492827)



Factions - CallumDaBest - 05.02.2014

Im making a script called Millenium Roleplay and im wondering how do you make factions because i want to make these current factions:

DOC- Department of Corrections
LSPD- Los Santos Police Department
LSEMS - Los Santos Emergency Services
LSFD - Los Santos Fire Department
SAPD - San Andreas Police Department
LVPD - Las Venturas Police Department
LVMD - Las Venturas Medical Department
SANews - San Andreas News
RR - Rapid Recovery
S.W.A.T


Re: Factions - Beckett - 05.02.2014

Dynamic? or static? if static then they are just defined variables.


Re: Factions - Jstylezzz - 05.02.2014

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: 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.


Re: Factions - Beckett - 05.02.2014

I've searched for a tutorial for you, here (it might seem unclear but hope you can understand something from that.)