Factions
#1

Hey Again Guys! Alright today I'm working on Factions, I have a general knowledge of scripting but i was wondering if anyone could show me how to create factions? That would be awesome. Thanks!!!
Reply
#2

I would suggest you to see one of the millions of the Godfather gamemode edits, once you read the proccess you will understand how to make it.
Reply
#3

Код:
#define TEAM_TEAMHERE
#define TEAM_TEAMHERE
// on and on and on
new gTeam[MAX_PLAYERS];
and thats it to make a team only command read this ex.
Код:
if (strcmp("/example", cmdtext, true, 10) == 0)
{
if(gTeam == TEAM_TEAMHERE)
{
SendClientMessage(playerid,COLOR,"This is an example");
}
else
{
SendClientMessage(playerid,COLOR,"You are nto that team");
}
return 1;
}
thats it hope i helped a little
Reply
#4

Search.

There are some tutorials as I've seen
http://forum.sa-mp.com/index.php?action=search
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)