10.07.2009, 03:40
If that's the first Faction =>
Forward & New:
Forward & New:
Код:
forward IsAGangCar(carid); new GangCar[MAX_PLAYERS];
Код:
if(IsAGangCar(newcar)) { if(PlayerInfo[playerid][pLeader] == 1||PlayerInfo[playerid][pMember] == 1) { } else { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, COLOR_GREY,"Your not in the FactionName.");} }
Код:
public IsAGangCar(carid) { if(carid >= 1 && carid <= 3) { return 1; } return 0; }