HQ cars problem
#4

Well lets Help This Guy
Place On top near the other fowards
Pawno Code
Quote:

forward IsAyourgangnameCar(carid); //yourgangname its your faction name.

In Public area add this
Pawn Code
Quote:

public IsAyourgangnameCar(carid)
{
if((carid >= 36) && (carid <= 6 || (carid >= 70) && (carid <= 75) || (carid >= 222) && (carid <= 22) //You Need to check your cars ids ingame and change this ids here.
{
return 1;
}
return 0;
}

And Finnally add
Pawn Code
Quote:

if(IsAyourgangnameCar(newcar))
{
if(PlayerInfo[playerid][pMember] == 4||PlayerInfo[playerid][pLeader] == 4) { } else { RemovePlayerFromVehicle(playerid);
}

if(PlayerInfo[playerid][pMember] == 4||PlayerInfo[playerid][pLeader] == 4) { }//4 is the id of the faction you want to drive that cars
Reply


Messages In This Thread
HQ cars problem - by Peter_Corneile - 05.04.2009, 21:45
Re: HQ cars problem - by ICECOLDKILLAK8 - 05.04.2009, 21:59
Re: HQ cars problem - by Peter_Corneile - 05.04.2009, 22:24
Re: HQ cars problem - by sandsnake - 05.04.2009, 23:47
Re: HQ cars problem - by Taz86 - 06.04.2009, 10:43
Re: HQ cars problem - by Taz86 - 10.04.2009, 13:41

Forum Jump:


Users browsing this thread: 1 Guest(s)