Factions
#1

Can someone help me with factions?
I want Sheriff, Medic, Mayor, and News that's all
Reply
#2

Could you explain? Which gamemode are you doing (Or starting from scratch).. add more information please.
Reply
#3

Yeah I just started MY OWN RP server not GF edit.
I've just made the Objects , Cars, Houses made, etc.
But I need something to start so I think Factions
Reply
#4

I don't seem to get the question here, are you asking us to make the faction system for you?
IF so explain how you want it and such
Reply
#5

Eh. I want 4 Factions : Sheriff, Medic, Mayor, News.
The owner of each can be invited by admin.
The member to be invited by Faction Owners.
Also(/uninvite commands)
When people get invited, the their team should save.
When they get uninvited, the team gets to TEAM_CIVIL

TEAM_SHERIFF
TEAM_MEDIC
TEAM_MAYOR
TEAM_NEWS
Reply
#6

bump *****
Reply
#7

bump *************
Reply
#8

DON'T TRIPLE POST.

http://forum.sa-mp.com/showthread.ph...highlight=team

Nice tutorial on how to set up teams.
Reply
#9

Also why are you starting to make an GM, if you don't know how to make a faction system..
Reply
#10

Quote:
Originally Posted by GangsTa[MD]
Посмотреть сообщение
Yeah I just started MY OWN RP server not GF edit.
++


To make new faction , I suggest what to do:

1.
#define SHERIFF 0
#define MEDIC 1
#define MAYOR 2
#define NEWS 3

enum pinfos
{
Faction,
}
new Pinfo[MAX_PLAYERS][pinfos];

When admin do a cmd, like /makeleader or /setfaction.

player Faction sets to MEDIC etc,

so later in script you dont have to worry about to remember faction IDs
Example:
if(Pinfo[playerid][Faction] == SHERIFF)
{
Arrest
}

If you have seen GF faction system , i suggest you to not make Member/Leader, but define Leader as rank 7, so you dont need double check if Leader == Sheriff and if Member Sheriff

I hope you understand what I wriote, if you have any questions, go ahead.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)