How to create RP's Faction?
#1

I use zGaming Roleplay Gamemode. I want to add new faction. But I don't know how to do it.

This gamemode use function IsACop for LAPD. I don't know how to create function like that.
I have read some Tutorial but did not help. You can download gamemode zGaming Roleplay at this link: https://sampforum.blast.hk/showthread.php?tid=350747

Can anyone help me plz

//Sorry for my bad english ...
Reply
#2

pawn Код:
new [MAX_PLAYERS]; // create a variable
and the execute a function if variable is = 1....
and try reading threw the code next time and learning how the variables work
stock IsACop(playerid)
{
    if(Cop[playerid] == 1) return 1;
    return 0;
}
Reply
#3

Good tip is that you watch how other factions are made and you start by copy from your other factions and just change name,rank,hq,cars etc.. I learned how to create factions like that. Just remember to change everything you copy to something new so it wont be some small misstake like example you making another law faction and you add the duty point but forgets to edit who can use it or stuffs like that
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)