How do I make factions/gangs?
#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


Messages In This Thread
How do I make factions/gangs? - by Tyrone1234 - 08.06.2009, 02:51
Re: How do I make factions/gangs? - by Correlli - 08.06.2009, 02:57
Re: How do I make factions/gangs? - by [HiC]TheKiller - 08.06.2009, 03:33

Forum Jump:


Users browsing this thread: 1 Guest(s)