14.02.2011, 23:05
pawn Код:
if(IsPlayerInVehicle(playerid,FaCars[0])||IsPlayerInVehicle(playerid,FaCars[1])|| IsPlayerInVehicle(playerid,FaCars[2])||IsPlayerInVehicle(playerid,FaCars[3])||
IsPlayerInVehicle(playerid,FaCars[4])||IsPlayerInVehicle(playerid,FaCars[5])||IsPlayerInVehicle(playerid,FaCars[6])||IsPlayerInVehicle(playerid,FaCars[7])||
IsPlayerInVehicle(playerid,FaCars[8])||IsPlayerInVehicle(playerid,FaCars[9])||IsPlayerInVehicle(playerid,FaCars[10])||IsPlayerInVehicle(playerid,FaCars[11])||
IsPlayerInVehicle(playerid,FaCars[12])||IsPlayerInVehicle(playerid,FaCars[13])||IsPlayerInVehicle(playerid,FaCars[14])||IsPlayerInVehicle(playerid,FaCars[15])||
IsPlayerInVehicle(playerid,FaCars[16])||IsPlayerInVehicle(playerid,FaCars[17])||IsPlayerInVehicle(playerid,FaCars[18])||IsPlayerInVehicle(playerid,FaCars[19]))
{
if(PlayerInfo[playerid][pMember] != 3 || PlayerInfo[playerid][pLeader] != 3)
{
SendClientMessage(playerid,COLOR_RED,"Vocк nгo й um Oficial das Forзas Armadas!!!!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}