05.04.2009, 23:47
Well lets Help This Guy
Place On top near the other fowards
Pawno Code
In Public area add this
Pawn Code
And Finnally add
Pawn Code
if(PlayerInfo[playerid][pMember] == 4||PlayerInfo[playerid][pLeader] == 4) { }//4 is the id of the faction you want to drive that cars
Place On top near the other fowards
Pawno Code
Quote:
forward IsAyourgangnameCar(carid); //yourgangname its your faction name. |
Pawn Code
Quote:
public IsAyourgangnameCar(carid) { if((carid >= 36) && (carid <= 6 ![]() ![]() { return 1; } return 0; } |
Pawn Code
Quote:
if(IsAyourgangnameCar(newcar)) { if(PlayerInfo[playerid][pMember] == 4||PlayerInfo[playerid][pLeader] == 4) { } else { RemovePlayerFromVehicle(playerid); } |