How do I make factions/gangs?
#1

How do you create a faction or gang from scratch? And when I add cars to the HQ, how do I make them only for that faction.

Im new to scripting and just trying to figure out a few things.
Reply
#2

If you're new to the scripting then first learn basics. Creating your own factions/gangs is a bit hard for beginner.
https://sampwiki.blast.hk/wiki/Category:..._Documentation
Reply
#3

Quote:
Originally Posted by Don Correlli
If you're new to the scripting then first learn basics. Creating your own factions/gangs is a bit hard for beginner.
https://sampwiki.blast.hk/wiki/Category:..._Documentation
1. It's not that hard. Also the link is https://sampwiki.blast.hk/wiki/PAWN_tutorial for the gangs.
2. For #2 just use something like this:

pawn Code:
new Vehicle1=AddStaticVehicle(/*Change this to your add static vehicles etc..*/);
new Vehicle2=AddStaticVehicle(/*Change this to your add static vehicles etc..*/);
pawn Code:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
  if(vehicleid == Vehicle1 || vehicleid == Vehicle2 && /*The gang variable equals 0*/)
  {
    RemovePlayerFromVehicle(playerid);
  }
  return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)