08.06.2009, 03:33
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 |
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;
}